CVE-2024-48949: Elliptic's verify function omits uniqueness validation
The Elliptic package 6.5.5 for Node.js for EDDSA implementation does not perform the required check if the signature proof(s) is within the bounds of the order n of the base point of the elliptic curve, leading to signature malleability. Namely, the verify function in lib/elliptic/eddsa/index.js omits sig.S().gte(sig.eddsa.curve.n) sig.S().isNeg() validation.
Published Oct 10, 2024 · Updated Nov 27, 2025
Affected packages
elliptic
- Ecosystem
- npm
- Affected
- < 6.5.6
- Fixed in
- 6.5.6
- Check
npm ls elliptic
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The Elliptic package 6.5.5 for Node.js for EDDSA implementation does not perform the required check if the signature proof(s) is within the bounds of the order n of the base point of the elliptic curve, leading to signature malleability. Namely, the verify function in lib/elliptic/eddsa/index.js omits sig.S().gte(sig.eddsa.curve.n) || sig.S().isNeg() validation.
This vulnerability could have a security-relevant impact if an application relies on the uniqueness of a signature.
Credited to Markus-MS.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-48949
- https://github.com/indutny/elliptic/commit/7ac5360118f74eb02da73bdf9f24fd0c72ff5281
- https://github.com/indutny/elliptic/compare/v6.5.5...v6.5.6
- https://security.netapp.com/advisory/ntap-20241227-0003
- https://blog.trailofbits.com/2025/11/18/we-found-cryptography-bugs-in-the-elliptic-library-using-wycheproof
- https://github.com/advisories/GHSA-434g-2637-qmqr
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-42459
Elliptic's EDDSA missing signature length check
low5.3Aug 2, 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
