CVE-2026-125333: Forge: ReDoS in forge.http response header and cookie trimming
Vulnerability summary
CVE-2026-125333 is a medium (CVSS 5.9) vulnerability in digitalbazaar forge. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 47.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 10-11-2026PublishedVulnerability first disclosed.
- 10-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundForge
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard22 products
- arangodb-3.12All versions (No fix recorded)
- dotstatsuite-supercore< 3.1.0_git20261022-r6
- dotstatsuite-url-shortenerAll versions (No fix recorded) | < 2.1.2-r1
- gitlab-rails-ce-18.10All versions (No fix recorded) | < 18.10.8-r12
- gitlab-rails-ce-18.8All versions (No fix recorded)
Wolfi2 products
- jitsucom-jitsu-consoleAll versions (No fix recorded) | < 2.11.0-r43
- kubeflow-centraldashboardAll versions (No fix recorded) | < 2.0.0-r9
Digitalbazaar1 product
- forge≥ 0.1.2, < 1.4.3
Npm1 product
- node-forge≥ 0.1.2, < 1.4.3
Ubuntu1 product
- node-node-forgeAll versions (No fix recorded)
5 vendors · 27 products
References
9 links- github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25X Refsource CONFIRMWEBAdvisoryREPORTExploitMitigationVendor Advisory
- github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bdX Refsource MISCWEBFIXREPORTPatch