What’s Vulnerable › Vulnerabilities

CVE-2025-66030: node-forge ASN.1 OID Integer Truncation

Description

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.

Affected products

How to fix

Upgrade to a fixed version: digitalbazaar forge 1.3.2; Npm Node-Forge 1.3.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-66030 or the next vulnerability affects your stack