CVE-2026-2739

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.
Configurations

No configuration.

History

No history.

Information

Published : 2026-02-20 05:17

Updated : 2026-02-20 13:49


NVD link : CVE-2026-2739

Mitre link : CVE-2026-2739

CVE.ORG link : CVE-2026-2739


JSON object : View

Products Affected

No product.

CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')