CVE-2026-125333
node-forge: node-forge: Denial of Service via inefficient regular expression in HTTP header parsing
Overview
Description
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. From 0.1.2 until 1.4.3, forge.http uses _trimString() in lib/http.js to remove trailing whitespace from response header values and cookie names and values with a regular expression that can take quadratic time. A malicious server or on-path attacker can supply a long whitespace run followed by a non-whitespace character in a response header, causing response.readHeader() or response.getCookies() to repeatedly scan the input and block the Node.js event loop or browser tab for minutes. Applications are affected only when they use forge.http with a socket pool to communicate with an untrusted server; forge.http is not loaded by require('node-forge'), and the issue has no confidentiality or integrity impact. This issue is fixed in version 1.4.3.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-1333
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | node-forge | >=0.1.2, <1.4.3 | 1.4.3 |
| Seal npm | @seal-security/node-forge | >=0.10.0-sp1-for-passport-saml, <0.10.0-sp999>=1.3.0-sp1, <1.3.0-sp999>=1.3.1-sp1, <1.3.1-sp999>=1.3.2-sp1, <1.3.2-sp999>=1.3.3-sp1, <1.3.3-sp999+1 more | 0.10.0-sp9991.3.0-sp9991.3.1-sp9991.3.2-sp9991.3.3-sp999 |
| Seal npm | node-forge | >=0.10.0-sp0, <0.10.0-sp999>=1.3.0-sp0, <1.3.0-sp999>=1.3.1-sp0, <1.3.1-sp999>=1.3.2-sp0, <1.3.2-sp999>=1.3.3-sp0, <1.3.3-sp999+1 more | 0.10.0-sp9991.3.0-sp9991.3.1-sp9991.3.2-sp9991.3.3-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 25 fixes
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | rhceph-rhceph-4-dashboard-rhel8 | eol |
| 8 | pcs +1 | affected |
| 8 | rhceph-rhceph-4-dashboard-rhel8 | eol |
| 9 | pcs +1 | affected |
chainguard 1 release · 16 packages
| Release | Package | Fixed in |
|---|---|---|
| gitlab-rails-ce-18-10 | 18.10.8-r12 | |
| gitlab-rails-ce-18-9 | 18.9.8-r15 | |
| gitlab-rails-ce-19-4 | 19.4.3-r15 | |
| gitlab-rails-ce-19-5 | 19.5.1-r16 | |
| kubeflow-centraldashboard | 2.0.0-r9 | |
| dotstatsuite-url-shortener | 2.1.2-r1 |
10 more rows
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | node-node-forge | affected |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| argo-workflows-3-6 +1 | 3.6.17-r0 | |
| argo-workflows-3-7 +1 | 3.7.8-r0 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-centraldashboard | 2.0.0-r9 | |
| jitsucom-jitsu | 2.11.0-r43 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-125333
- github.com https://github.com/digitalbazaar/forge
- github.com https://github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bd
- github.com https://github.com/digitalbazaar/forge/pull/1169
- github.com https://github.com/digitalbazaar/forge/releases/tag/v1.4.3
- github.com https://github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-125333
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-125333
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.