cve.bz

CVE-2026-118781 digitalbazaar forge: Infinite Loop

5.3 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.3) in digitalbazaar forge. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in node-forge 1.4.1.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.4% (up from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-118781 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-118781?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-118781?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-118781 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
digitalbazaar:forgebefore 1.4.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h6cr-wjv9-3cppnpmnode-forge<1.4.11.4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTS, 22.04:LTSnode-node-forgeno fix listedUBUNTU-CVE-2026-118781
Azure Linux3python-tensorboardno fix listedAZL-112487

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated as Low impact for Red Hat products because exploitation requires an attacker to supply negative numeric values directly to modular inverse calculations or RSA key creation, conditions that are not exposed to untrusted user input in typical product architectures. Standard deployments rely on predefined, positive cryptographic constants and process strictly unsigned structured data formats such as certificates and secure transport streams, which are inherently incapable of triggering the flaw. As a result, reaching the defective logic to cause high CPU consumption or an application hang is highly constrained and requires non-standard integration patterns.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Out of support scope
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleOut of support scope
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorOut of support scope
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Out of support scope
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/logic-rhel9-operatorFix deferred
OpenShift Service Mesh 3openshift-service-mesh/kiali-operator-bundleOut of support scope
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorOut of support scope
Red Hat AMQ Broker 7amq-broker-bin.zipFix deferred
Red Hat AMQ Broker 7amq-broker-maven-repository.zipFix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Out of support scope
Red Hat Ansible Automation Platform 2automation-controllerOut of support scope
Red Hat Ansible Automation Platform 2automation-eda-controllerOut of support scope
Red Hat Ansible Automation Platform 2automation-gatewayOut of support scope
Red Hat Ansible Automation Platform 2automation-platform-uiFix deferred
Red Hat build of Apache Camel for Spring Boot 4rhaf-camel-for-springboot-maven-repository.zipFix deferred
Red Hat build of Apache Camel for Spring Boot 4rhaf-camel-spring-boot-maven-repository.zipFix deferred
Red Hat Build of Podman Desktoprh-podman-desktopFix deferred
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Out of support scope
24 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-118781.

History

  1. Score 2.9 → 5.3 medium
  2. Analyzed by the NVD

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON