Improper validation of integrity check value in node-forge - CVE-2026-118782

 

Improper validation of integrity check value in node-forge - CVE-2026-118782

Published: November 6, 2026


Vulnerability identifier: #VU159770
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-118782
CWE-ID: CWE-354
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to forge password-protected PKCS#12/PFX contents without knowing the password.

The vulnerability exists due to node-forge accepting zero or negative iteration counts in PKCS#12 key derivation, producing password-independent keys when applications import untrusted files. An unauthenticated remote attacker can supply crafted files containing chosen certificates and private keys that pass MAC verification or PKCS#12 password-based decryption under any application-supplied password.


Affected software

node-forge

How to mitigate CVE-2026-118782

Install security update from vendor's website.

node-forge - update to 1.4.1

External References

Related Security Bulletins