Forge has Denial of Service via Infinite Loop in BigInteger.modInverse() with Zero Input

Summary

CVECVE-2026-33891
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-03-27 21:17:25 UTC
Updated2026-07-02 12:17:07 UTC
DescriptionForge (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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.005960000 probability, percentile 0.441820000 (date 2026-07-04)

Problem Types: CWE-835 | CWE-606 | CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') | CWE-606 Unchecked Input for Loop Condition


VersionSourceTypeScoreSeverityVector
3.1ADPCVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNADECLARED7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Digitalbazaar Forge All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Digitalbazaar Forge affected < 1.4.0 Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.5 For RHEL 8 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.5 For RHEL 9 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 For RHEL 9 Not specified Not specified
ADP Red Hat Cluster Observability Operator 1.5.0 Not specified Not specified
ADP Red Hat Red Hat Developer Hub 1.8 Not specified Not specified
ADP Red Hat Red Hat Developer Hub 1.9 Not specified Not specified
ADP Red Hat Logging Subsystem For Red Hat OpenShift Not specified Not specified
ADP Red Hat Red Hat Build Of Apicurio Registry 2 Not specified Not specified
ADP Red Hat Red Hat Build Of Podman Desktop Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2.6 For RHEL 10 Not specified Not specified
ADP Red Hat Cryostat 4 Not specified Not specified
ADP Red Hat Red Hat Ansible Automation Platform 2 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel - HawtIO 4 Not specified Not specified
ADP Red Hat Red Hat Data Grid 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Process Automation 7 Not specified Not specified
ADP Red Hat Red Hat Quay 3 Not specified Not specified

References

ReferenceSourceLinkTags
github.com/digitalbazaar/forge/security/advisories/GHSA-5m6q-g25r-mvwx [email protected] github.com Exploit, Vendor Advisory
access.redhat.com/errata/RHSA-2026:34342 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:9742 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:24762 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/digitalbazaar/forge/commit/9bb8d67b99d17e4ebb5fd7596cd699e11f... [email protected] github.com Patch
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33891.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
access.redhat.com/errata/RHSA-2026:13826 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/security/cve/CVE-2026-33891 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
access.redhat.com/errata/RHSA-2026:24761 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-03-27T21:01:34.410ZReported to Red Hat.
ADP2026-03-27T20:43:37.725ZMade public.

Solutions

ADP: RHSA-2026:24761: Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9

ADP: RHSA-2026:24762: Red Hat Ansible Automation Platform 2.6 for RHEL 9

ADP: RHSA-2026:34342: Cluster Observability Operator 1.5.0

ADP: RHSA-2026:9742: Red Hat Developer Hub 1.8

ADP: RHSA-2026:13826: Red Hat Developer Hub 1.9

Workarounds

ADP: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report