Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-118782— Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count

Quick assessment

Affected
digitalbazaar forge
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Forge(也称为 node-forge)是用 JavaScript 原生实现的传输层安全(TLS)库。在 1.4.1 版本之前,node-forge 会接受 PKCS#12 消息认证码(MAC)或基于密码的 PKCS#12 加密迭代次数为零或负数的输入。此时, 会返回一个与密码和盐值无关的固定密钥,导致通过 处理的特制 PKCS#12 输入能够绕过基于密码的完整性校验。此外,可预测的加密密钥和初始化向量(IV)也影响了使用 或 的 PKCS#12 基于密码的加密(PBE),包括被遮蔽的密钥包(shrouded k

CVSS 7.5 · High

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
digitalbazaar forge < 1.4.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-118782

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
完整性检查值验证不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
digitalbazaar forge < 1.4.1 -

II. Public POCs for CVE-2026-118782

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-118782

请登录查看更多情报信息。

Other References for CVE-2026-118782 (3)

Same Patch Batch · digitalbazaar · 2026-10-29 · 15 CVEs total

CVE-2026-118779 7.5 HIGH Forge: Regular expression denial of service in PEM decoding (pem.decode)
CVE-2026-119188 7.5 HIGH Forge: Denial of service in TLS record processing via a record interleaved with a fragment
CVE-2026-119191 7.5 HIGH Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
CVE-2026-119187 7.5 HIGH Forge: Denial of service in TLS record processing via call stack exhaustion
CVE-2026-119190 7.4 HIGH Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension
CVE-2026-118778 5.9 MEDIUM Forge: TLS client crash when the server sends no certificate
CVE-2026-119186 5.9 MEDIUM Forge: AES-GCM authentication bypass via unvalidated tagLength option
CVE-2026-119189 5.9 MEDIUM Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificate
CVE-2026-118777 4.8 MEDIUM Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie
CVE-2026-118774 3.7 LOW Forge: Certificate signature verified with the issuer's RSA signature scheme
CVE-2026-118780 3.7 LOW Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from
CVE-2026-118775 3.7 LOW Forge: ASN.1 OID first arc truncation in asn1.oidToDer
CVE-2026-118776 3.7 LOW Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption
CVE-2026-118781 2.9 LOW Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input

IV. Related Vulnerabilities