CVE-2026-2739
Medium 5.5 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 48
- CVSS 4.0
- 5.5
- EPSS
- —
- Auth required
- No
- Published
- Feb 20, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | bn.js |
< 4.12.3 |
4.12.3 |
npm install bn.js@4.12.3 |
| npm | bn.js |
≥ 5.0.0 < 5.2.3 |
5.2.3 |
npm install bn.js@5.2.3 |
Per OSV / GitHub Advisories (GHSA-378v-28hj-76wf). Check the version in your lockfile before upgrading.
Official advisories
- velociraptor-0.7.0.4.git185.a5708584-2.1 on GA media · SUSE · openSUSE-SU-2026:11126-1 · Jun 25, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.