High

Minerva timing attack on P-256 in python-ecdsa

  • Disclosed: 22.01.2024
  • Updated: 11.10.2026 15:17

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) ecdsa all versions no fix

References

CVSS score 7.4/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-203, CWE-208, CWE-385
Platform
Python (PyPI)
Package
ecdsa
Disclosed
22.01.2024
Updated
11.10.2026 15:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-1325 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-wj6h-64fc-37mp - CC BY 4.0

Vulnerability history: ecdsa

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
01.2020 03.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 1
  • Medium 1

Disclosures per year

  1. 2020: 1
  2. 2021: 0
  3. 2022: 0
  4. 2023: 0
  5. 2024: 1
  6. 2025: 0
  7. 2026: 1
  1. Minerva timing attack on P-256 in python-ecdsa this entry
    High · 7.4 CVE-2024-23342 all versions no fix
  2. Critical · 9.1 CVE-2019-14859 < 0.13.3 0.13.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.