CVEvulnerability

CVE-2026-33891

7.5 HIGH Published 2026-03-27 Modified 2026-10-26 Official page ↗
Status
Modified
Published
2026-03-27
Last modified
2026-10-26
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-606, CWE-835

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.

Affected configurations

• digitalbazaar forge (<= 1.3.3)

Related

Weakness · CWE (2)

  • CWE-606 Unchecked Input for Loop Condition weakness
  • CWE-835 Loop with Unreachable Exit Condition weakness

References