CVE-2026-118776 Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption

Low 3.7 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-118776?

CVE-2026-118776 is a low-severity vulnerability in digitalbazaar forge, published on 29 Oct 2026.

Official description

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.

Weakness: CWE-354, CWE-20

Which versions are affected by CVE-2026-118776?

How do I fix CVE-2026-118776?

No fix has been published for CVE-2026-118776 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-118776 being exploited?

There is no known exploitation of CVE-2026-118776 in the wild and no public exploit code.

Sources

Is CVE-2026-118776 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free