CVE-2026-33891 — Infinite Loop in Forge
Severity
7.5HIGHNVD
EPSS
0.1%
top 83.78%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 27
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%…
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6
Affected Packages2 packages
Patches
🔴Vulnerability Details
3OSV▶
CVE-2026-33891: Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript↗2026-03-27
OSV
▶
GHSA
▶
📋Vendor Advisories
1Red Hat
▶
🕵️Threat Intelligence
1💬Community
4Bugzilla▶
CVE-2026-33891 fbthrift: node-forge: Denial of Service via infinite loop in BigInteger.modInverse() [fedora-all]↗2026-03-27
Bugzilla▶
CVE-2026-33891 cachelib: node-forge: Denial of Service via infinite loop in BigInteger.modInverse() [fedora-all]↗2026-03-27
Bugzilla▶
CVE-2026-33891 fbthrift: node-forge: Denial of Service via infinite loop in BigInteger.modInverse() [epel-all]↗2026-03-27
Bugzilla▶
CVE-2026-33891 cachelib: node-forge: Denial of Service via infinite loop in BigInteger.modInverse() [epel-all]↗2026-03-27