CVE-2024-48948
MEDIUM4.8EPSS 0.16%Valid ECDSA signatures erroneously rejected in Elliptic
Published: 10/15/2024Modified: 4/28/2026
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.
Affected packages (2)
- Debian/node-ellipticfrom 0
- npm/ellipticfrom 0, < 6.6.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-48948
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-48948
- PATCHhttps://github.com/indutny/elliptic
- WEBhttps://blog.trailofbits.com/2025/11/18/we-found-cryptography-bugs-in-the-elliptic-library-using-wycheproof
- WEBhttps://github.com/indutny/elliptic/commit/34c853478cec1be4e37260ed2cb12cdbdc6402cf
- WEBhttps://github.com/indutny/elliptic/issues/321
- WEBhttps://github.com/indutny/elliptic/pull/322
- WEBhttps://security.netapp.com/advisory/ntap-20241220-0004