CVE-2026-118776
Published:October 29, 2026
Updated:October 30, 2026
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.
Affected Packages
forge (CDN_JS):
Affected version(s) >=1.0.0 <1.4.1 || >=0.7.0 <1.4.1Fix Suggestion:
Update to version 1.4.1https://github.com/digitalbazaar/forge.git (GITHUB):
Affected version(s) >=0.1.2 <v1.4.1 || >=v1.0.0 <v1.4.1Fix Suggestion:
Update to version v1.4.1node-forge (NPM):
Affected version(s) >=0.1.2 <1.4.1 || >=1.0.0 <1.4.1Fix Suggestion:
Update to version 1.4.1Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.13