CVE-2020-12607
HIGH 7.5CVSS 3.1Improper Verification of Cryptographic Signature in fastecdsa
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.
- Published
- 2 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-56wv-2wr9-3h9rPYSEC-2020-42
- Sources
- NVDJSONOSV GHSA-56wv-2wr9-3h9rJSONOSV PYSEC-2020-42JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | antonkueltz | fastecdsacpe:2.3:a:antonkueltz:fastecdsa:*:*:*:*:*:*:*:* |
< 2.1.2 | 2.1.2 |
| OSV | PyPI | fastecdsa | < 2.1.2 | 2.1.2 |
References
- https://github.com/AntonKueltz/fastecdsa/commit/4a16daeaf139be20654ef58a9fe4c79dc030458c · Issue Tracking, Patch, Third Party Advisory, WEB, FIX
- https://github.com/AntonKueltz/fastecdsa/commit/7b64e3efaa806b4daaf73bb5172af3581812f8de · Patch, Third Party Advisory, WEB, FIX
- https://github.com/AntonKueltz/fastecdsa/commit/e592f106edd5acf6dacedfab2ad16fe6c735c9d1 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/AntonKueltz/fastecdsa/issues/52 · Exploit, Third Party Advisory, WEB, REPORT
- 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
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 2 Jun 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jun 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2021)