CVE-2020-12607 json
Improper Verification of Cryptographic Signature in fastecdsa
published 2020-06-02 6 y ago modified 2026-06-17 4 mo ago also GHSA-56wv-2wr9-3h9r , PYSEC-2020-42 , EUVD-2020-0078
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi fastecdsa 2.1.2
- antonkueltz fastecdsa 2.1.2
Exploit prediction
1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/AntonKueltz/fastecdsa/issues/52 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | fastecdsa | <2.1.2 |
2.1.2 |
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
github.com
/AntonKueltz/fastecdsa/commit/4a16daeaf139be20654ef58a9fe4c79dc030458c
web, issue-tracking, patch, third-party-advisory
-
github.com
/AntonKueltz/fastecdsa/commit/e592f106edd5acf6dacedfab2ad16fe6c735c9d1
web, patch, third-party-advisory
-
github.com
/AntonKueltz/fastecdsa/commit/7b64e3efaa806b4daaf73bb5172af3581812f8de
web, patch, third-party-advisory
-
github.com
/AntonKueltz/fastecdsa/issues/52
web, exploit, third-party-advisory, report
-
nvd.nist.gov
/vuln/detail/CVE-2020-12607
advisory
-
github.com
/AntonKueltz/fastecdsa
package
-
github.com
/advisories/GHSA-56wv-2wr9-3h9r
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/fastecdsa/PYSEC-2020-42.yaml
web
Sources
- CVE List CVE-2020-12607
- GitHub Advisory GHSA-56wv-2wr9-3h9r
- NVD CVE-2020-12607
- OSV PYSEC-2020-42
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.