Vulnerability
CVE-2026-118776
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used decipher.finish(), CBC and ECB modes, PKCS#7 padding to process the relevant input or security decision. node-forge validated only the final byte of PKCS#7 padding during CBC and ECB decryption and accepted zero, oversized, or mismatched padding bytes. Malformed ciphertext could consequently be accepted and up to four plaintext blocks could be silently removed, causing an integrity failure in applications that treated successful decryption as proof of valid padding. This issue is fixed in version 1.4.1.
15 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
AZL-112481
CVE-2026-118776 affecting package python-tensorboard 2.16.2-6
- CGA-3fpp-59p9-4fh8
- CGA-4r8x-x5gw-qhwq
- CGA-4xwf-64vf-r488
- CGA-5pcc-56q4-4m25
- CGA-5pgp-p6p4-3279
- CGA-5ww9-9295-vw84
- CGA-62w8-f588-h5c3
- CGA-7hq2-5rrq-j9xp
- CGA-89cq-9m8j-2cr6
- CGA-gq5w-v6rr-66p2
-
GHSA-2vgq-wchc-25w7
Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption
-
RHVEX-CVE-2026-118776
node-forge: node-forge: Data integrity failure via improper PKCS#7 padding validation
-
SUSEVEX-CVE-2026-118776
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used decipher.finish(), CBC and ECB modes, PKCS#7 padding to process the…
-
UBUNTU-CVE-2026-118776
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used decipher.finish(), CBC and ECB modes, PKCS#7 padding to process the…