Ubuntu CVE Tracker
UBUNTU-CVE-2025-66031
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | node-node-forge | All versions, no fix listed |
| Ubuntu:22.04:LTS | node-node-forge | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2025-66031
- https://www.cve.org/CVERecord?id=CVE-2025-66031
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-554w-wpv2-vw27
- https://github.com/digitalbazaar/forge/commit/260425c6167a38aae038697132483b5517b26451
- https://github.com/digitalbazaar/forge/commit/260425c6167a38aae038697132483b5517b26451