CVE-2026-118776
node-forge: node-forge: Data integrity failure via improper PKCS#7 padding validation
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness: CWE-20, CWE-354
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | node-forge | <1.4.1 | 1.4.1 |
| Seal npm | @seal-security/node-forge | >=0.10.0-sp1-for-passport-saml, <0.10.0-sp999>=1.3.0-sp1, <1.3.0-sp999>=1.3.1-sp1, <1.3.1-sp999>=1.3.2-sp1, <1.3.2-sp999>=1.3.3-sp1, <1.3.3-sp999+1 more | 0.10.0-sp9991.3.0-sp9991.3.1-sp9991.3.2-sp9991.3.3-sp999 |
| Seal npm | node-forge | >=0.10.0-sp0, <0.10.0-sp999>=1.3.0-sp0, <1.3.0-sp999>=1.3.1-sp0, <1.3.1-sp999>=1.3.2-sp0, <1.3.2-sp999>=1.3.3-sp0, <1.3.3-sp999+1 more | 0.10.0-sp9991.3.0-sp9991.3.1-sp9991.3.2-sp9991.3.3-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | rhceph-rhceph-4-dashboard-rhel8 | eol |
| 8 | grafana +15 | affected |
| 8 | rhceph-rhceph-4-dashboard-rhel8 | eol |
| 9 | grafana +3 | affected |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| gitlab-rails-ce-18-10 | 18.10.8-r12 | |
| gitlab-rails-ce-18-9 | 18.9.8-r15 |
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | node-node-forge | affected |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| argo-workflows-3-6 +1 | 3.6.17-r0 | |
| argo-workflows-3-7 +1 | 3.7.8-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-118776
- github.com https://github.com/digitalbazaar/forge
- github.com https://github.com/digitalbazaar/forge/commit/81774ff99e2da64aec9a43591df45a360040c136
- github.com https://github.com/digitalbazaar/forge/releases/tag/v1.4.1
- github.com https://github.com/digitalbazaar/forge/security/advisories/GHSA-2vgq-wchc-25w7
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-118776
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-118776
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.