{"cve":"CVE-2026-33891","nvd":{"published":"2026-03-27T21:17:25.817","modified":"2026-10-26T22:10:00.163","status":"Modified","description":"Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, a Denial of Service (DoS) vulnerability exists in the node-forge library due to an infinite loop in the BigInteger.modInverse() function (inherited from the bundled jsbn library). When modInverse() is called with a zero value as input, the internal Extended Euclidean Algorithm enters an unreachable exit condition, causing the process to hang indefinitely and consume 100% CPU. Version 1.4.0 patches the issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-835","CWE-606"],"references":["https://github.com/digitalbazaar/forge/commit/9bb8d67b99d17e4ebb5fd7596cd699e11f25d023","https://github.com/digitalbazaar/forge/security/advisories/GHSA-5m6q-g25r-mvwx","https://access.redhat.com/errata/RHSA-2026:13826","https://access.redhat.com/errata/RHSA-2026:24761","https://access.redhat.com/errata/RHSA-2026:24762"],"products":["digitalbazaar:forge"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-33891","score":0.00607,"percentile":0.4873,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-5m6q-g25r-mvwx","url":"https://osv.dev/vulnerability/GHSA-5m6q-g25r-mvwx","summary":"Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input","modified":"2026-09-10T03:50:37.384958674Z","packages":[{"ecosystem":"npm","name":"node-forge","purl":"pkg:npm/node-forge","ranges":["<1.4.0"],"fixed":["1.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}