# CVE-2025-66031: node-forge ASN.1 Unbounded Recursion

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2025-11-26T22:08:37.000Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-554w-wpv2-vw27
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- digitalbazaar forge: < 1.3.2; before 1.3.2
- node-forge (npm): before 1.3.2

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/digitalbazaar/forge/security/advisories/GHSA-554w-wpv2-vw27> (vendor-advisory, web)
- <https://github.com/digitalbazaar/forge/commit/260425c6167a38aae038697132483b5517b26451> (patch, web)
- <https://github.com/digitalbazaar/forge> (package)

## Sources

- CVE List: [CVE-2025-66031](https://www.cve.org/CVERecord?id=CVE-2025-66031), CVE Terms of Use, modified 2025-11-28
- GitHub Advisory Database: [GHSA-554w-wpv2-vw27](https://github.com/advisories/GHSA-554w-wpv2-vw27), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-66031](https://nvd.nist.gov/vuln/detail/CVE-2025-66031), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-66031 · Whole record: https://cve.day/CVE-2025-66031.json · Rebuilt by cve.day 2026-11-25T22:59:08.054Z
