CVE-2024-42460: Elliptic's ECDSA missing check for whether leading bit of r and s is zero
In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because there is a missing check for whether the leading bit of r and s is zero.
Published Aug 2, 2024 · Updated Nov 4, 2025
Affected packages
elliptic
- Ecosystem
- npm
- Affected
- >= 2.0.0, <= 6.5.6
- Fixed in
- 6.5.7
- Check
npm ls elliptic
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because there is a missing check for whether the leading bit of r and s is zero.
Credited to BlazingWizard.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-42460
- https://github.com/indutny/elliptic/pull/317
- https://github.com/indutny/elliptic/commit/b6ff1758d9a6d1a7aec177ff6df9f586492a6315
- https://github.com/indutny/elliptic/commit/accb61e9c1a005e5c8ff96a8b33893100bb42d11
- https://security.netapp.com/advisory/ntap-20241004-0005
- https://github.com/advisories/GHSA-977x-g7h5-7qgw
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2025-14505
Elliptic Uses a Cryptographic Primitive with a Risky Implementation
low5.6No fixJan 8, 2026GHSA-vjh7-7g9h-fjfh
Elliptic's private key extraction in ECDSA upon signing a malformed input (e.g. a string)
critical9.0Feb 12, 2025CVE-2024-48948
Valid ECDSA signatures erroneously rejected in Elliptic
low4.8Oct 15, 2024CVE-2024-48949
Elliptic's verify function omits uniqueness validation
low5.3Oct 10, 2024CVE-2024-42459
Elliptic's EDDSA missing signature length check
low5.3Aug 2, 2024CVE-2024-42461
Elliptic allows BER-encoded signatures
low5.3Aug 2, 2024
