CVE-2024-48949
Elliptic's verify function omits uniqueness validation
medium entropyGHSA-434g-2637-qmqrCVE-2024-48949
Entropy / wallet impact
elliptic: 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.
Description
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.
Affected
| Kind | Name | Ecosystem | Versions |
|---|---|---|---|
| package | elliptic | npm | < 6.5.6 |
CWE
Primary sources
- https://github.com/advisories/GHSA-434g-2637-qmqr (ghsa)
- https://nvd.nist.gov/vuln/detail/CVE-2024-48949 (ghsa)
- https://github.com/indutny/elliptic/commit/7ac5360118f74eb02da73bdf9f24fd0c72ff5281 (ghsa)
- https://github.com/indutny/elliptic/compare/v6.5.5...v6.5.6 (ghsa)
- https://security.netapp.com/advisory/ntap-20241227-0003 (ghsa)
- https://blog.trailofbits.com/2025/11/18/we-found-cryptography-bugs-in-the-elliptic-library-using-wycheproof (ghsa)
- https://github.com/indutny/elliptic (osv)