Integer overflow in node-forge - CVE-2026-118775
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to cause applications using node-forge to emit a trusted OID different from the authorized input.
The vulnerability exists due to missing range checks on the first two OID arcs in node-forge's asn1.oidToDer() when encoding attacker-supplied strings. An unauthenticated remote attacker can submit an out-of-range OID to applications that authorize untrusted OIDs as strings before encoding them, producing DER for another OID.