# CVE-2020-12607: Improper Verification of Cryptographic Signature in fastecdsa

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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): 1.31%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-06-02T21:00:52.000Z
- Modified: 2026-06-17T02:52:00.790Z
- Also known as: GHSA-56wv-2wr9-3h9r, PYSEC-2020-42
- Weaknesses: CWE-347
- Assigned by: mitre

## Description

An issue was discovered in fastecdsa before 2.1.2. When using the NIST P-256 curve in the ECDSA implementation, the point at infinity is mishandled. This means that for an extreme value in k and s^-1, the signature verification fails even if the signature is correct. This behavior is not solely a usability problem. There are some threat models where an attacker can benefit by successfully guessing users for whom signature verification will fail.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- fastecdsa (PyPI): before 2.1.2; before 4a16daeaf139be20654ef58a9fe4c79dc030458c; before 7b64e3efaa806b4daaf73bb5172af3581812f8de; before e592f106edd5acf6dacedfab2ad16fe6c735c9d1
- antonkueltz fastecdsa: before 2.1.2

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/AntonKueltz/fastecdsa/issues/52> (exploit, report, third-party-advisory, web)
- <https://github.com/AntonKueltz/fastecdsa/commit/4a16daeaf139be20654ef58a9fe4c79dc030458c> (fix, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/AntonKueltz/fastecdsa/commit/e592f106edd5acf6dacedfab2ad16fe6c735c9d1> (fix, patch, third-party-advisory, web)
- <https://github.com/AntonKueltz/fastecdsa/commit/7b64e3efaa806b4daaf73bb5172af3581812f8de> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-12607> (advisory)
- <https://github.com/AntonKueltz/fastecdsa> (package)
- <https://github.com/advisories/GHSA-56wv-2wr9-3h9r> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/fastecdsa/PYSEC-2020-42.yaml> (web)

## Sources

- CVE List: [CVE-2020-12607](https://www.cve.org/CVERecord?id=CVE-2020-12607), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-56wv-2wr9-3h9r](https://github.com/advisories/GHSA-56wv-2wr9-3h9r), CC-BY-4.0, modified 2025-02-12
- NVD: [CVE-2020-12607](https://nvd.nist.gov/vuln/detail/CVE-2020-12607), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-42](https://osv.dev/vulnerability/PYSEC-2020-42), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-12607 · Whole record: https://cve.day/CVE-2020-12607.json · Rebuilt by cve.day 2026-11-25T22:57:52.649Z
