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

 

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

Published: November 6, 2026


Vulnerability identifier: #VU159786
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-118776
CWE-ID: CWE-354
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to cause applications to accept malformed ciphertext as valid.

The vulnerability exists due to incomplete PKCS#7 padding validation during AES or DES decryption in node-forge's CBC and ECB modes. An unauthenticated remote attacker can modify unauthenticated ciphertext to silently remove up to four blocks of trailing plaintext when applications rely on decipher.finish() to determine validity.


Affected software

node-forge

How to mitigate CVE-2026-118776

Install security update from vendor's website.

node-forge - update to 1.4.1

External References

Related Security Bulletins