Integer overflow in node-forge - CVE-2026-118775

 

Integer overflow in node-forge - CVE-2026-118775

Published: November 6, 2026


Vulnerability identifier: #VU159765
CSH Severity: Low
CVSS v4: 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]
CVE-ID: CVE-2026-118775
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

node-forge

How to mitigate CVE-2026-118775

Install security update from vendor's website.

node-forge - update to 1.4.1

External References

Related Security Bulletins