LowGHSA-fc9h-whq2-v747CVE-2024-48948

Valid ECDSA signatures erroneously rejected in Elliptic

Published 15 Oct 2024 · Updated 27 Nov 2025

Affected package

Affected
<6.6.0
Fixed in
6.6.0
Update to the fixed version for your release line, for example:npm install elliptic@6.6.0

Details

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.

Is GHSA-fc9h-whq2-v747 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected elliptic, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.