CVE-2026-125333Digitalbazaar Forge regular expression denial of service (ReDoS)
CVSS score
5.9
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.56%
0.56% chance of exploitation in the next 30 days, higher than 47.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running digitalbazaar Forge and compare its version with the affected versions.
Update to a fixed version
- Update Forge to 1.4.3 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| digitalbazaar Forge | ≥ 0.1.2, < 1.4.3 · >= 0.1.2, < 1.4.3 |
Weakness
- CWE-1333 regular expression denial of service (ReDoS)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-125333 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-125333?
CVE-2026-125333 has a CVSS 3.1 base score of 5.9 (medium).
Which versions are affected?
Digitalbazaar Forge (≥ 0.1.2, < 1.4.3; >= 0.1.2, < 1.4.3)
Is there a patch for CVE-2026-125333?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bd(Patch)
- github.com/digitalbazaar/forge/pull/1169(Patch)
- github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25(Exploit, Mitigation, Vendor Advisory)
- github.com/digitalbazaar/forge/releases/tag/v1.4.3(Release Notes)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.