CVE-2026-118781: Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input (incomplete fix of CVE-2026-33891)
Vulnerability summary
CVE-2026-118781 is a low (CVSS 2.9) Loop with Unreachable Exit Condition vulnerability in digitalbazaar forge. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.7% of scored vulnerabilities.
Not severe (CVSS 2.9, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 29-10-2026PublishedVulnerability first disclosed.
- 30-10-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, the affected implementation used BigInteger.prototype.modInverse(), bnModInverse(), lib/jsbn.js, RSA public exponent e to process the relevant input or security decision. node-forge's bundled jsbn implementation entered an infinite loop when BigInteger.prototype.modInverse() received a negative value or modulus. An attacker who could control the RSA public exponent passed to key generation, or a direct modInverse() operand, could block the Node.js event loop at full CPU. Parsed DER, PEM, JWK, PKCS#12, X.509, and TLS values are unsigned and cannot trigger this issue. This issue is fixed in version 1.4.1.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST2.9LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · NpmEcosystem advisory · calculated2.9LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated2.9LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated2.9LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated2.9LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.12%
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 causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard20 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 · 25 products
References
8 links- github.com/digitalbazaar/forge/security/advisories/GHSA-h6cr-wjv9-3cppX Refsource CONFIRMWEBREPORTAdvisory
- github.com/digitalbazaar/forge/commit/e96c47b7f006dec66fb7bb1934e7375498b04a72X Refsource MISCWEBREPORTFIX