VDB
Sign up
HIGH7.4

PYSEC-2026-1325

Minerva timing attack on P-256 in python-ecdsa

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ecdsa
Introduced in: 0

No fixed version published yet for ecdsa (pip). Pin to a known-safe version or switch to an alternative.

References