All reports
High

Minerva timing attack on P-256 in python-ecdsa

Affected versions

Version ranges need review.

PyPIecdsa
Affected versions
>= 0
Fixed version
Not reported
PyPIecdsa
Affected versions
*
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-23342

Probability of exploitation in the next 30 days: 0.99%

FIRST EPSS · 2026-11-21

Description

python-ecdsa has been found to be subject to a Minerva timing attack on the P-256 curve. Using the ecdsa.SigningKey.sign_digest() API function and timing signatures an attacker can leak the internal nonce which may allow for private key discovery. Both ECDSA signatures, key generation, and ECDH operations are affected. ECDSA signature verification is unaffected. The python-ecdsa project considers side channel attacks out of scope for the project and there is no planned fix.

Links

Credits

  • tomato42
  • levpachmanov