Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-33891 is a high-severity Infinite Loop (CWE-835) vulnerability in Digitalbazaar Forge. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 37% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-33891 is a Denial of Service (DoS) vulnerability in the node-forge library, a JavaScript implementation of Transport Layer Security also known as Forge. Versions prior to 1.4.0 are affected due to an infinite loop in the BigInteger.modInverse() function, inherited from the bundled jsbn library. When modInverse() receives a zero value as input, the internal Extended Euclidean Algorithm fails to reach its exit condition, causing the process to hang indefinitely and consume 100% CPU. The vulnerability is rated with a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) and maps to CWE-835 (Infinite Loop).
Attackers can exploit this vulnerability remotely over the network with low complexity and no privileges or user interaction required. By supplying a zero value to the modInverse() function in applications using vulnerable node-forge versions, an unauthenticated attacker can trigger the infinite loop, leading to complete resource exhaustion and denial of service on the targeted process or server.
The node-forge security advisory (GHSA-5m6q-g25r-mvwx) and the patching commit (9bb8d67b99d17e4ebb5fd7596cd699e11f25d023) confirm that upgrading to version 1.4.0 resolves the issue by fixing the loop condition in the Extended Euclidean Algorithm implementation. Security practitioners should audit dependencies for node-forge <1.4.0 and apply the update promptly, especially in TLS-handling Node.js applications.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-16833
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V17.3.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and evaluation can discover unreachable loop exit conditions through static analysis, fuzzing, or execution tracing.
Input validation directly stops untrusted values from reaching loop conditions without bounds or sanity checks.
Flaw remediation processes identify and correct infinite-loop defects reported from testing or operations.
Requiring documented development processes and secure coding standards reduces introduction of loops whose termination conditions are unreachable.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can uncover infinite-loop conditions before release.
Training developers in secure coding practices helps them recognize and validate loop-condition inputs, but the effect is a minority one because the practice is fallible and a different clause (e.g. A.8.29 security testing) carries the stronger preventive effect, mirroring the A.8.28 -> CWE-502 anchor.
Secure coding standards directly address loop termination and prevent infinite loops.
A.8.8's reach is DISCLOSURE — it sees only third-party components with published advisories. CWE-835 instances that surface as CVEs in third-party libraries (e.g., CVE-2025-32399, CVE-2022-25304) are discoverable through vulnerability scanning, but the majority of infinite loops live in first-party code where no advisory is ever published, and A.8.8 has no view of those.