CVE-2024-42459: Elliptic's EDDSA missing signature length check
In the Elliptic package 6.5.6 for Node.js, EDDSA signature malleability occurs because there is a missing signature length check, and thus zero-valued bytes can be removed or appended.
Published Aug 2, 2024 · Updated Nov 4, 2025
Affected packages
elliptic
- Ecosystem
- npm
- Affected
- >= 4.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, EDDSA signature malleability occurs because there is a missing signature length check, and thus zero-valued bytes can be removed or appended.
Credited to BlazingWizard.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-42459
- https://github.com/indutny/elliptic/pull/317
- https://github.com/indutny/elliptic/commit/c0690b36be043ee73c1780ae4b7df48632b11cf9
- https://github.com/indutny/elliptic/commit/accb61e9c1a005e5c8ff96a8b33893100bb42d11
- https://security.netapp.com/advisory/ntap-20241004-0005
- https://github.com/advisories/GHSA-f7q4-pwc6-w24p
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-42460
Elliptic's ECDSA missing check for whether leading bit of r and s is zero
low5.3Aug 2, 2024CVE-2024-42461
Elliptic allows BER-encoded signatures
low5.3Aug 2, 2024
