Vulnerability library
Security checkNovember 27, 2025

Valid ECDSA signatures erroneously rejected in Elliptic

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpmelliptic

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the elliptic package to the latest compatible version. Followings are version details:

  • Affected version(s): < 6.6.0
  • Patched version(s): 6.6.0

References

Could your website be exposed too?

SmartScanner can check your website for Valid ECDSA signatures erroneously rejected in Elliptic and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 27, 2025