cve.bz

CVE-2026-2739 Infinite Loop

5.5 mediumEPSS 0.5%Fix available

Medium (5.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in bn.js 4.12.3, 5.2.3.

On this page
This affects versions of the package bn.js before 5.2.3. Calling maskn(0) on any BN instance corrupts the internal state, causing toString(), divmod(), and other methods to enter an infinite loop, hanging the process indefinitely.

Severity

CVSS 4.0

5.5 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

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.5% (unchanged from 0.5% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-02-20. 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
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-2739 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-2739?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-2739?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-2739 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.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-378v-28hj-76wfnpmbn.js<4.12.34.12.3
GHSA-378v-28hj-76wfnpmbn.js>=5.0.0 <5.2.35.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-bn.jsno fix listedDEBIAN-CVE-2026-2739
Debian14node-bn.js5.2.3+~5.2.0-1DEBIAN-CVE-2026-2739
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morenode-bn.jsno fix listedUBUNTU-CVE-2026-2739
openSUSETumbleweedvelociraptor0.7.0.4.git185.a5708584-2.1openSUSE-SU-2026:11126-1
Azure Linux2reaperno fix listedAZL-78290

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

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Out of support scope
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleOut of support scope
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Out of support scope
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorOut of support scope
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Out of support scope
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-curator5-rhel9Out of support scope
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Fix deferred
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel9Fix deferred
OpenShift Service Mesh 2openshift-service-mesh/kiali-ossmc-rhel8Out of support scope
OpenShift Service Mesh 3openshift-service-mesh/kiali-operator-bundleOut of support scope
OpenShift Service Mesh 3openshift-service-mesh/kiali-ossmc-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorOut of support scope
Red Hat 3scale API Management Platform 23scale-amp20/systemOut of support scope
Red Hat 3scale API Management Platform 23scale-amp21/systemOut of support scope
Red Hat 3scale API Management Platform 23scale-amp22/systemOut of support scope
Red Hat 3scale API Management Platform 23scale-amp24/systemOut of support scope
Red Hat 3scale API Management Platform 23scale-amp25/systemOut of support scope
Red Hat 3scale API Management Platform 23scale-amp26/systemOut of support scope
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Out of support scope
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Out of support scope
21 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-2739.

References

Check your stackJSON