Inefficient regex in Forge HTTP response header trimming
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 17 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
Forge and node-forge from 0.1.2 before 1.4.3 are affected. forge.http trims whitespace from response header values and cookie values with a regular expression that can take quadratic time (CWE-1333), so an attacker controlling a server can send a long whitespace run that blocks the event loop or browser tab for minutes. Only applications using forge.http with a socket pool to an untrusted server are affected. A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| digitalbazaar | forge | 0.1.2 to before 1.4.3 | 1.4.3 | Patch available | CNA |
| — | node-forge (npm) | 0.1.2 to before 1.4.3 | 1.4.3 | Patch available | GHSA-6cv4-p8m7-4r25 |
- forge Vendordigitalbazaar Affected 0.1.2 to before 1.4.3 Fixed in 1.4.3 Patch available CNA
- node-forge (npm) Vendor— Affected 0.1.2 to before 1.4.3 Fixed in 1.4.3 Patch available GHSA-6cv4-p8m7-4r25
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:* | 0.1.2 to before 1.4.3 | Vulnerable | digitalbazaar |
- cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:* Versions 0.1.2 to before 1.4.3 Vulnerable ·digitalbazaar
Remediation
Upgrade digitalbazaar forge and npm node-forge to 1.4.3. Red Hat lists Node HealthCheck Operator, OpenShift Service Mesh 3, Red Hat Ansible Automation Platform 2 and Red Hat Ceph Storage 4 as affected with no fix planned. Red Hat lists OpenShift Pipelines, OpenShift Serverless, Red Hat 3scale API Management Platform 2, Red Hat Connectivity Link 1, Red Hat Developer Hub 1, Red Hat Developer Hub 2, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux AI (RHEL AI) 3 and Red Hat OpenShift AI (RHOAI) as affected with no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA forge (digitalbazaar) Fixed in 1.4.3
- Fix · GHSA-6cv4-p8m7-4r25 node-forge (npm) Fixed in 1.4.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Node HealthCheck Operator | Affected | No fix planned: Out of support scope |
| OpenShift Pipelines | Affected | No fix yet: Fix deferred |
| OpenShift Serverless | Affected | No fix yet: Fix deferred |
| OpenShift Service Mesh 3 | Affected | No fix planned: Out of support scope |
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Ansible Automation Platform 2 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 4 | Affected | No fix planned: Out of support scope |
| Red Hat Connectivity Link 1 | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 1 | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 2 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat Quay 3 | Affected | No fix planned: Out of support scope |
| Self-service automation portal 2 | Affected | No fix yet: Fix deferred |
Not affected: 9 products
- Red Hat AMQ Broker 7
- Red Hat Ansible Automation Platform 2
- Red Hat Build of Podman Desktop
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Fuse 7
- Red Hat Hardened Images
- Red Hat build of Apache Camel for Spring Boot 4
Timeline
- 2026-11-10 Threatist record created from CVE-2026-125333
- 2026-11-10 CISA SSVC decision points changed
- 2026-11-10 Alias added: GHSA-6cv4-p8m7-4r25
- 2026-11-10 Fix available: npm/[email protected] · GHSA-6cv4-p8m7-4r25
- 2026-11-10 CVSS score added · GHSA-6cv4-p8m7-4r25
- 2026-11-10 Weakness changed · GHSA-6cv4-p8m7-4r25
- 2026-11-10 5 new references · GHSA-6cv4-p8m7-4r25
- 2026-11-11 Affected versions changed · Red Hat
- 2026-11-11 CVSS score added · Red Hat
References
Patch 2
More digitalbazaar Forge vulnerabilities
- TI-2026-26254 Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation) CVSS 3.1CRITICAL 9.1
- TI-2026-82739 Resource exhaustion in Forge ASN.1 parsing via nested BIT STRINGs CVSS 3.1HIGH 7.5
- TI-2026-82735 Recursive TLS record processing in Forge enables denial of service CVSS 3.1HIGH 7.5
- TI-2026-82733 Forge PKCS#12 input can bypass password integrity checks CVSS 3.1HIGH 7.5
- TI-2026-82730 Regular expression denial of service in Forge PEM decoding CVSS 3.1HIGH 7.5
- TI-2026-26253 Forge has signature forgery in Ed25519 due to missing S > L check CVSS 3.1HIGH 7.5
Sources
- CVE-2026-125333 · CVE Program
- CVE-2026-125333 · NVD
- FIRST EPSS
- GHSA-6cv4-p8m7-4r25 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-125333 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences