CVE-2025-66031
HIGH 8.7CVSS 4.0node-forge has ASN.1 Unbounded Recursion
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. An Uncontrolled Recursion vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft deep ASN.1 structures that trigger unbounded recursive parsing. This leads to a Denial-of-Service (DoS) via stack exhaustion when parsing untrusted DER inputs. This issue has been patched in version 1.3.2.
- Published
- 26 Nov 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-674
- Also known as
- GHSA-554w-wpv2-vw27
- Sources
- NVDJSONOSV GHSA-554w-wpv2-vw27JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | digitalbazaar | forgecpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:* |
< 1.3.2 | 1.3.2 |
| OSV | npm | node-forge | < 1.3.2 | 1.3.2 |
References
- https://github.com/digitalbazaar/forge/commit/260425c6167a38aae038697132483b5517b26451 · Patch, WEB
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-554w-wpv2-vw27 · Vendor Advisory, WEB
- https://github.com/digitalbazaar/forge · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 26 Nov 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Nov 2025)