Description
The Elliptic package 6.5.7 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.
Metrics
CVSS 3.1 4.8/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| nodejs | elliptic | 6.5.7 |
References
- https://blog.trailofbits.com/2025/11/18/we-found-cryptography-bugs-in-the-elliptic-library-using-wycheproof/
- https://github.com/indutny/elliptic/issues/321Exploit, Issue Tracking
- https://github.com/indutny/elliptic/pull/322Exploit, Issue Tracking
- https://security.netapp.com/advisory/ntap-20241220-0004/Third Party Advisory
Timeline
- Published
- Oct 15, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Modified