CVE-2026-2739

MEDIUM CVSS 4.0: 5.5 EPSS 0.52%
Updated Feb 20, 2026
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions before 5.2.3.
Type CWE-835
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)