CVE-2026-125333
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.
Weakness
- CWE-1333: Inefficient Regular Expression Complexity
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-10 |
Timeline
- 2026-11-10Published by the CNA18:48 UTC
- 2026-11-10GitHub advisory published (GHSA-6cv4-p8m7-4r25)same day
- 2026-11-10Published in NVD19:21 UTC · 32 minutes after the CNA
- 2026-11-10CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-6cv4-p8m7-4r25, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm node-forge | from 0.1.2 before 1.4.3 | 1.4.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| digitalbazaar forge | from 0.1.2 before 1.4.3fixed in 1.4.3 | 1.4.3 |
References
- https://github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bd
- https://github.com/digitalbazaar/forge/pull/1169
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-125333'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-125333'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-125333'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-125333'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).