CVE-2026-2739 Affecting node-bn.js package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.53% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-NODEBNJS-15325558
  • published21 Feb 2026
  • disclosed20 Feb 2026

Introduced: 20 Feb 2026

CVE-2026-2739  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 node-bn.js.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-bn.js package and not the node-bn.js package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1