PT-2026-132796
CVE-2026-118782
·
Published
2026-10-29
·
Updated
2026-11-11
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Forge versions prior to 1.4.1
Description
Forge (also known as node-forge) accepts a PKCS#12 MAC or password-based encryption iteration count of zero or less. This causes the
pki.pbe.generatePkcs12Key() function to return a constant key that does not depend on the password or salt, which allows specially crafted PKCS#12 input processed by forge.pkcs12.pkcs12FromAsn1() to bypass password-based integrity checks. Additionally, predictable encryption keys and Initialization Vectors (IVs) affect PKCS#12 Password-Based Encryption (PBE) using pbeWithSHAAnd3-KeyTripleDES-CBC or pbewithSHAAnd40BitRC2-CBC. This includes shrouded key bags, encrypted SafeContents, and PKCS#8 ENCRYPTED PRIVATE KEY input processed by forge.pki.decryptPrivateKeyInfo(). PBES2/PBKDF2-encrypted content is not affected.Recommendations
Update to version 1.4.1.
Found an issue in the description? Have something to add? Feel free to write us 👾