# CVE-2024-23342: python-ecdsa vulnerable to Minerva attack on P-256

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.98%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-22T21:35:27.000Z
- Modified: 2026-09-10T03:50:09.447Z
- Also known as: GHSA-wj6h-64fc-37mp, PYSEC-2026-1325
- Weaknesses: CWE-203, CWE-208, CWE-385
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

The `ecdsa` PyPI package is a pure Python implementation of ECC (Elliptic Curve Cryptography) with support for ECDSA (Elliptic Curve Digital Signature Algorithm), EdDSA (Edwards-curve Digital Signature Algorithm) and ECDH (Elliptic Curve Diffie-Hellman). Versions 0.18.0 and prior are vulnerable to the Minerva attack. As of time of publication, no known patched version exists.

(As written by CVE List.)

## Affected

- tlsfuzzer python-ecdsa: <= 0.18.0
- ecdsa (PyPI): all versions
- tlsfuzzer ecdsa: up to 0.18.0

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/tlsfuzzer/python-ecdsa/security/advisories/GHSA-wj6h-64fc-37mp> (exploit, vendor-advisory, web)
- <https://github.com/tlsfuzzer/python-ecdsa/blob/master/SECURITY.md> (product, web)
- <https://minerva.crocs.fi.muni.cz/> (technical-description)
- <https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/> (technical-description)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23342> (advisory)
- <https://github.com/tlsfuzzer/python-ecdsa> (package)
- <https://minerva.crocs.fi.muni.cz> (web)
- <https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python> (web)
- <https://pypi.org/project/ecdsa> (package)
- <https://github.com/advisories/GHSA-wj6h-64fc-37mp> (advisory)

## Sources

- CVE List: [CVE-2024-23342](https://www.cve.org/CVERecord?id=CVE-2024-23342), CVE Terms of Use, modified 2025-05-30
- GitHub Advisory Database: [GHSA-wj6h-64fc-37mp](https://github.com/advisories/GHSA-wj6h-64fc-37mp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-23342](https://nvd.nist.gov/vuln/detail/CVE-2024-23342), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1325](https://osv.dev/vulnerability/PYSEC-2026-1325), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-23342 · Whole record: https://cve.day/CVE-2024-23342.json · Rebuilt by cve.day 2026-11-25T22:58:36.272Z
