← Vulnerability Intelligence

CVE-2024-48948

Valid ECDSA signatures erroneously rejected in Elliptic

medium entropyCVE-2024-48948GHSA-fc9h-whq2-v747

Entropy / wallet impact

elliptic: The Elliptic prior to 6.6.0 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 th

Description

The Elliptic prior to 6.6.0 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

KindNameEcosystemVersions
packageellipticnpm< 6.6.0

CWE

CWE-347

Primary sources

Published
2024-10-15T15:30:56Z
Last modified
2025-11-27T08:58:35Z
First seen here
2026-08-18T15:11:37Z
CVSS
4.8 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L (ghsa)
Credibility
official_cve