Vulnerability 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.
CVSS Score
LOW
Related Weaknesses (CWE)
References
- https://github.com/digitalbazaar/forge/commit/81774ff99e2da64aec9a43591df45a3600
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-2vgq-wchc-25w7
FAQ
What is CVE-2026-118776?
CVE-2026-118776 is a vulnerability with a CVSS score of 3.7 (LOW). 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 paddi...
How severe is CVE-2026-118776?
CVE-2026-118776 has been rated LOW with a CVSS base score of 3.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-118776?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.