CVE-2026-118782: Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count
Vulnerability summary
CVE-2026-118782 is a high (CVSS 7.5) vulnerability in digitalbazaar forge. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.2% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 29-10-2026PublishedVulnerability first disclosed.
- 03-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-354Improper Validation of Integrity Check ValueThe product does not validate or incorrectly validates the integrity check values or "checksums" of a message.
- CWE-1284Improper Validation of Specified Quantity in InputThe product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard19 products
- arangodb-3.11All versions (No fix recorded) | < 3.11.14.6-r4
- arangodb-3.12All versions (No fix recorded) | < 3.12.13-r1
- dotstatsuite-supercoreAll versions (No fix recorded) | < 3.1.0_git20261022-r4
- gitlab-rails-ce-18.10All versions (No fix recorded)
- gitlab-rails-ce-18.8All versions (No fix recorded)
Wolfi2 products
- jitsucom-jitsu-consoleAll versions (No fix recorded) | < 2.11.0-r42
- kubeflow-centraldashboardAll versions (No fix recorded) | < 2.0.0-r8
Digitalbazaar1 product
- forge< 1.4.1
Npm1 product
- node-forge< 1.4.1
Ubuntu1 product
- node-node-forgeAll versions (No fix recorded)
5 vendors · 24 products
References
8 links- github.com/digitalbazaar/forge/security/advisories/GHSA-jc66-7q78-782gX Refsource CONFIRMWEBREPORTAdvisory
- github.com/digitalbazaar/forge/commit/d9584aa56824972858366d5187b3d29e46bf3656X Refsource MISCWEBREPORTFIX