Lucene search
K

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.

🗓️ 25 Feb 2026 09:03:52Reported by MicrosoftType 
mscve
 mscve
🔗 msrc.microsoft.com👁 4 Views

bn.js versions before 5.2.3: maskn(0) corrupts state and causes toString and divmod to loop.

Related
Detection

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 Apr 2026 08:37Current
5.8Medium risk
Vulners AI Score5.8
CVSS 3.15.3
CVSS 46.9
EPSS0.00467
SSVC
4