CVEsdigitalbazaarCVE-2026-118776Published Oct 29, 18:37 · Updated Oct 29, 18:37 UTC
3.7
LowCVSS 3.1 · from GitHub_M
CVE-2026-118776

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

forge · Improper input validation · CWE-20
Affectedforge
FixNo fix listed yet.
PublishedOct 29, 18:37 · GitHub_M
ScoredOct 29 · 3.7 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:08 UTC

What we know

No known exploitation. CISA KEV, checked 22:08 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.

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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inforge< 1.4.1–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/digitalbazaar/forge/security/advisories/GHSA-2vgq-wchc-25w7 · github.comrefsource_CONFIRMgithub.com/digitalbazaar/forge/commit/81774ff99e2da64aec9a43591df45a360040c136 · github.comrefsource_MISCgithub.com/digitalbazaar/forge/releases/tag/v1.4.1 · github.comrefsource_MISC

Other CVEs in forge

All 24 →
7.5Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer · CVE-2026-119191Oct 297.4Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension OIDs 2.5.29.10 and 2.5.29.13 · CVE-2026-119190Oct 295.9Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage · CVE-2026-119189Oct 29