CVE-2026-118781 json
Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input (incomplete fix of CVE-2026-33891)
published 2026-10-29 10 d ago modified 2026-10-30 9 d ago also GHSA-h6cr-wjv9-3cpp , EUVD-2026-113339
- cvss
- 2.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 1%
- public exploits
- 0
- none known
Summary
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used BigInteger.prototype.modInverse(), bnModInverse(), lib/jsbn.js, RSA public exponent e to process the relevant input or security decision. node-forge's bundled jsbn implementation entered an infinite loop when BigInteger.prototype.modInverse() received a negative value or modulus. An attacker who could control the RSA public exponent passed to key generation, or a direct modInverse() operand, could block the Node.js event loop at full CPU. Parsed DER, PEM, JWK, PKCS#12, X.509, and TLS values are unsigned and cannot trigger this issue. This issue is fixed in version 1.4.1.
Patch / fix
- npm node-forge 1.4.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-118781 updated cvss 2.9
node-forge: node-forge: Denial of Service via infinite loop on negative input
-
Red Hat Node HealthCheck Operator workload-availability/node-remediation-console-rhel8, workload-availability/node-healthcheck-rhel9-operator, workload-availability/node-healthcheck-operator-bundle, workload-availability/node-healthcheck-must-gather-rhel9affected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-ui-rhel9 Red Hat OpenShift Serverless openshift-serverless-1/logic-rhel9-operatoraffected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift Service Mesh 3 openshift-service-mesh/kiali-rhel9-operator, openshift-service-mesh/kiali-operator-bundleaffected: workaround, no fix planned “Out of support scope”
-
Red Hat AMQ Broker 7 amq-broker-bin.zip 7.14.1.CR3, amq-broker-maven-repository.zip 7.14.1.CR3affected: workaround, no fix available “Fix deferred”
-
Red Hat Ansible Automation Platform 2 automation-controller 4.5.37-1.el8ap, automation-platform-ui 2.6.15-1.el9ap, automation-gateway 2.5.20260923-1.el9ap, ansible-automation-platform-24/lightspeed-rhel8, automation-eda-controller 1.0.10-0.1.20260317.git9cae940.el8apaffected: workaround, no fix available, no fix planned “Out of support scope”
-
Red Hat build of Apache Camel for Spring Boot 4 rhaf-camel-spring-boot-maven-repository.zip 4.18.4.CS6, rhaf-camel-for-springboot-maven-repository.zip 3.5.16.CS2 Red Hat Build of Podman Desktop rh-podman-desktop 3c6fc75a2a6cf5bb9b8a667fddcbbf428132badcaffected: workaround, no fix available “Fix deferred”
-
Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8affected: workaround, no fix planned “Out of support scope”
-
Red Hat Connectivity Link 1 rhcl-1/rhcl-rhdh-dynamic-plugin-rhel9 Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9, rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend, rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend Red Hat Enterprise Linux 8 pcs, grafana, pcs-snmp, grafana-loki, grafana-mssql, grafana-mysql, +12 more Red Hat Enterprise Linux 9 pcs, grafana, pcs-snmp, grafana-selinux, grafana 12.4.3-2.el10, pcs 0.12.0-3.el10_0.5 Red Hat Enterprise Linux 10 grafana 12.4.3-2.el10, pcs 0.12.0-3.el10_0.5 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9affected: workaround, no fix available “Fix deferred”
show 5 moreshow fewer
-
Red Hat Fuse 7 redhat-fuse-sources.zip 7.13.0, redhat-fuse-maven-repository.zip 7.13.0affected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-feature-server-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9affected: workaround, no fix planned “Out of support scope”
-
Red Hat Self-service automation portal 2 ansible-automation-platform/automation-portal, ansible-automation-platform/bootc-automation-portal-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Hardened Images grafana13.1 13.1.8-0.5.hum1, grafana13.2 13.2.4-0.4.hum1, grafana12.4 12.4.13-0.5.hum1not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 d ago
Exploit prediction
0.12% chance of exploitation in the next 30 days, higher than 1% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 2.9 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | node-forge | <1.4.1 |
1.4.1 |
Affected products
- digitalbazaar forge
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
github.com
/digitalbazaar/forge/commit/e96c47b7f006dec66fb7bb1934e7375498b04a72
web
-
github.com
/digitalbazaar/forge/security/advisories/GHSA-h6cr-wjv9-3cpp
web
-
github.com
/digitalbazaar/forge/releases/tag/v1.4.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-118781
advisory
-
github.com
/digitalbazaar/forge
package
Sources
- CVE List CVE-2026-118781
- GitHub Advisory GHSA-h6cr-wjv9-3cpp
- NVD CVE-2026-118781
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.