CVE-2026-33891
node-forge: node-forge: Denial of Service via infinite loop in BigInteger.modInverse()
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- 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
Weakness: CWE-835, CWE-606
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | node-forge | <1.4.0 | 1.4.0 |
| Seal npm | @seal-security/node-forge | >=0.10.0-sp1-for-passport-saml, <0.10.0-sp3p3>=1.3.1-sp1, <1.3.1-sp2 | 0.10.0-sp3p31.3.1-sp2 |
| Seal npm | node-forge | >=0.10.0-sp0, <0.10.0-sp3p3>=1.3.1-sp0, <1.3.1-sp2 | 0.10.0-sp3p31.3.1-sp2 |
Open a package to see all its vulnerabilities.
Operating systems · 42 fixes
chainguard 1 release · 30 packages
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 | |
| kubeflow-centraldashboard | 1.10.0-r18 | |
| gitlab-rails-ce-18-1 | 18.1.6-r25 | |
| gitlab-rails-ce-fips-18-1 | 18.1.6-r87 | |
| gitlab-rails-ce-18-10 | 18.10.8-r12 | |
| gitlab-rails-ce-fips-18-10 | 18.10.8-r8 |
24 more rows
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | node-node-forge | affected |
minimos 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-pipelines-frontend | 2.17.0-r0 | |
| opensearch-dashboards-2 +1 | 2.19.6-r0 | |
| argo-workflows-3-6 +1 | 3.6.17-r0 | |
| argo-workflows-3-7 +1 | 3.7.8-r0 | |
| verdaccio | 6.3.0-r0 | |
| kibana-8-19 | 8.19.15-r0 |
1 more row
wolfi 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| kubeflow-katib | 0.19.0-r40 | |
| kubeflow-centraldashboard | 1.10.0-r18 | |
| kubeflow-pipelines | 2.16.0-r11 | |
| opensearch-dashboards-3 | 3.5.0-r11 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:13826
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:24761
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:24762
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34342
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:9742
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-33891
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2452450
- github.com https://github.com/digitalbazaar/forge
- github.com https://github.com/digitalbazaar/forge/commit/9bb8d67b99d17e4ebb5fd7596cd699e11f25d023
- github.com https://github.com/digitalbazaar/forge/security/advisories/GHSA-5m6q-g25r-mvwx
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.