Integer overflow in node-forge - CVE-2025-66030

 

Integer overflow in node-forge - CVE-2025-66030

Published: December 4, 2025


Vulnerability identifier: #VU119133
CSH Severity: Medium
CVSS v4.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/E:U/U:Green
CVE-ID: CVE-2025-66030
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Synex Technologies
Affected software:
node-forge

Detailed vulnerability description

The vulnerability allows a remote attacker to perform spoofing attack. 

The vulnerability exists due to integer overflow within the asn1.derToOid() function in forge/lib/asn1.js when parsing ASN.1 structures containing OIDs with oversized arcs. A remote attacker can construct a specially crafted ASN.1 object to spoof an OID and bypass downstream OID-based security decisions.


How to mitigate CVE-2025-66030

Install updates from vendor's website.

Sources