CVE-2026-33891CWE-606CWE-835

CVE-2026-33891

High · published March 28, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
59.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00897 · 59.2th percentile
Weaknesses
CWE-606 · Unchecked Input for Loop Condition; CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')
Published
2026-03-28T01:17Z
Affected products (1)
ProductVersionsFixed in
digitalbazaar/forge≤ 1.3.3—
References (10)
EPSS history
Timeline
  • 27 MAR 20:43Z
    Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input
    cvelistv5