Vulnerability
CVE-2026-118782
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge accepted a PKCS#12 MAC or PKCS#12 password-based encryption iteration count of zero or less. pki.pbe.generatePkcs12Key() then returned a constant key independent of the password and salt, allowing crafted PKCS#12 input processed by forge.pkcs12.pkcs12FromAsn1() to bypass password-based integrity checks. Predictable encryption keys and IVs also affected PKCS#12 PBE using pbeWithSHAAnd3-KeyTripleDES-CBC or pbewithSHAAnd40BitRC2-CBC, including shrouded key bags, encrypted SafeContents, and PKCS#8 ENCRYPTED PRIVATE KEY input processed independently by forge.pki.decryptPrivateKeyInfo(). PBES2/PBKDF2-encrypted content is unaffected. This issue is fixed in version 1.4.1.
45 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
AZL-112501
CVE-2026-118782 affecting package python-tensorboard 2.16.2-6
- CGA-2f28-8vww-9w5c
- CGA-2fgq-hrrr-rc25
- CGA-449m-rcpp-6p56
- CGA-4766-9j3p-9mxf
- CGA-5vcc-m834-vq9g
- CGA-6fww-wjf9-jjx3
- CGA-73jv-7pfj-g6pj
- CGA-75rh-mrcj-cf8m
- CGA-7pxg-vjhq-36hq
- CGA-98h8-hh24-m8rg
- CGA-98x9-jr2f-g36c
- CGA-9hg5-m9c4-hg9c
- CGA-cg6c-6hw7-996c
- CGA-g2m6-xcg5-2x5p
- CGA-gr3j-2622-84g5
- CGA-h23q-fr68-9w56
- CGA-h298-9c62-5454
- CGA-hqg2-2wx6-8frh
- CGA-hwx3-v97q-5cm6
- CGA-j552-p3ww-hrpr
- CGA-jgc2-7433-52hv
- CGA-jmhq-fffq-65xm
- CGA-m2qh-jhrm-vrv2
- CGA-mg8j-47r7-p59x
- CGA-mpwr-rjm5-8mrr
- CGA-p4mv-q46f-mcm4
- CGA-p86r-qmjh-c7w6
- CGA-pcrc-ccw9-fm29
- CGA-pp6v-gc2m-w493
- CGA-pppp-xm2r-9j7h
- CGA-pqqf-2qvh-ch68
- CGA-q7fx-43mf-rxm2
- CGA-q987-cv99-j3v7
- CGA-q9pf-cv4j-m37q
- CGA-qh3r-vgrh-m3fv
- CGA-qw3x-c763-6ww5
- CGA-qwwp-9pj8-xrgm
- CGA-rrh8-h5mj-vg7j
- CGA-v97f-79cr-76m2
- CGA-vxcp-5653-2mf9
- CGA-xw8r-rjxh-wgfm
-
GHSA-jc66-7q78-782g
Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count
-
SUSEVEX-CVE-2026-118782
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge accepted a PKCS#12 MAC or PKCS#12 password-based encryption iteration count of zero or…
-
UBUNTU-CVE-2026-118782
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge accepted a PKCS#12 MAC or PKCS#12 password-based encryption iteration count of zero or…