node-forge <1.4.0: DoS via Infinite Loop in modInverse()
CVE-2026-33891 Published on March 27, 2026

Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input
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.

NVD

Vulnerability Analysis

CVE-2026-33891 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

Weakness Types

What is an Infinite Loop Vulnerability?

The program contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. If the loop can be influenced by an attacker, this weakness could allow attackers to consume excessive resources such as CPU or memory.

CVE-2026-33891 has been classified to as an Infinite Loop vulnerability or weakness.

Unchecked Input for Loop Condition

The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.


Products Associated with CVE-2026-33891

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-33891 are published in these products:

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Affected Versions

digitalbazaar forge: Red Hat Ansible Automation Platform 2.5 for RHEL 8: Red Hat Ansible Automation Platform 2.5 for RHEL 9: Red Hat Ansible Automation Platform 2.6 for RHEL 9: Red Hat Cluster Observability Operator 1.5.0: Red Hat Developer Hub 1.8: Red Hat Developer Hub 1.9: Logging Subsystem for Red Hat OpenShift: Red Hat build of Apicurio Registry 2: Red Hat Build of Podman Desktop: Red Hat Enterprise Linux 10: Red Hat Fuse 7: Red Hat Ansible Automation Platform 2.6 for RHEL 10: Red Hat Cryostat 4: Red Hat Ansible Automation Platform 2: Red Hat build of Apache Camel - HawtIO 4: Red Hat Data Grid 8: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 9: Red Hat Process Automation 7: Red Hat Quay 3:

Exploit Probability

EPSS
0.37%
Percentile
28.18%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.