CVE-2020-12607
Python vulnerability analysis and mitigation

Overview

An issue was discovered in fastecdsa before 2.1.2 affecting the ECDSA implementation when using the NIST P-256 curve. The vulnerability involves improper handling of the point at infinity, which causes signature verification to fail even when the signature is correct. This occurs specifically for extreme values in k and s^-1. The issue was discovered in April 2020 and was assigned CVE-2020-12607 (NVD).

Technical details

The vulnerability stems from a mishandling of the point at infinity in the ECDSA implementation. When extreme values are used for k and s^-1 parameters during signature verification on the NIST P-256 curve, the verification process incorrectly fails for valid signatures. This was confirmed through Google's Wycheproof test vectors, specifically test case 345. The vulnerability has a CVSS v3.1 base score of 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability affects signature verification functionality, causing valid signatures to be incorrectly rejected. This behavior is not solely a usability problem, as there are specific threat models where an attacker could benefit by successfully identifying users for whom signature verification will fail (NVD).

Exploitability

The vulnerability can be triggered by using specific extreme values for k and s^-1 parameters in ECDSA signatures. A proof of concept exists demonstrating the issue using test vectors from Google's Wycheproof project (Github Issue).

Mitigation and workarounds

The vulnerability was fixed in fastecdsa version 2.1.2 by properly handling the point at infinity in the ECDSA implementation. Users should upgrade to version 2.1.2 or later to address this issue (Github Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61539CRITICAL10
  • Python logoPython
  • xinference
NoYesAug 21, 2026
CVE-2026-49360HIGH7.8
  • Python logoPython
  • recce
NoYesAug 21, 2026
CVE-2026-68508HIGH7.8
  • Python logoPython
  • hydra-core
NoYesAug 21, 2026
CVE-2026-54457HIGH7.7
  • Python logoPython
  • tensorzero
NoYesAug 21, 2026
CVE-2026-43980MEDIUM6.3
  • Python logoPython
  • malla
NoNoAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management