CVE-2025-66030
MEDIUM 6.3CVSS 4.0node-forge is vulnerable to ASN.1 OID Integer Truncation
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. An Integer Overflow vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft ASN.1 structures containing OIDs with oversized arcs. These arcs may be decoded as smaller, trusted OIDs due to 32-bit bitwise truncation, enabling the bypass of downstream OID-based security decisions. 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-190
- Also known as
- GHSA-65ch-62r8-g69g
- Sources
- NVDJSONOSV GHSA-65ch-62r8-g69gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
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/3e0c35ace169cfca529a3e547a7848dc7bf57fdb · Patch, WEB
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-65ch-62r8-g69g · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66030 · ADVISORY
- 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)