Skip to main content
VulnerabilityPublished Updated

CVE-2026-2739: Node bn.js · This affects versions of the package bn.js before 5.2.3

Affects node-bn.jsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-2739· Medium 6.9

Public exploit available · CVSS 6.9 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-bn.jspkg:deb/ubuntu/node-bn.js?arch=source&distro=stonkingOther threatsAffected
  • =5.2.3+~5.2.0-1
  • =5.2.5+~5.2.0-1
Fixed in–
Ubuntu 26.04 LTSnode-bn.jspkg:deb/ubuntu/node-bn.js?arch=source&distro=resoluteOther threatsAffected
  • =5.2.1+~5.1.1-1
  • =5.2.3+~5.2.0-1
Fixed in–
Ubuntu 25.10node-bn.jspkg:deb/ubuntu/node-bn.js?arch=source&distro=questingOther threatsAffected
  • =5.2.1+~5.1.1-1
Fixed in–
Ubuntu 24.04 LTSnode-bn.jspkg:deb/ubuntu/node-bn.js?arch=source&distro=nobleOther threatsAffected
  • =5.2.1+~5.1.1-1
Fixed in–
Ubuntu 22.04 LTSnode-bn.jspkg:deb/ubuntu/node-bn.js?arch=source&distro=jammyOther threatsAffected
  • =5.1.3-1
  • =5.2.0-3
Fixed in–
Ubuntu 20.04 LTSnode-bn.jspkg:deb/ubuntu/node-bn.js?arch=source&distro=focalOther threatsAffected
  • 5.0.0-1 – 5.1.1-2
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…