Advisory record · GHSA-9f5j-8jwj-x28g

python-ecdsa: Denial of Service via improper DER length validation in crafted private keys

CVSS 5.3 MediumEPSS 0.0049 · 41st percentile

Published by the GitHub Advisory Database at 27 Mar 2026, 15:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
ecdsaPyPI<0.19.20.19.2
Identifiers
GHSA-9f5j-8jwj-x28g · CVE-2026-33936 · PYSEC-2026-2467
Weakness (CWE)
CWE-20 · CWE-130
Published
27 Mar 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The python-ecdsa package, versions before 0.19.2, mishandles truncated DER input: the helper function remove_octet_string() accepts data whose declared length exceeds the buffer, which can cause SigningKey.from_der() to raise an unexpected IndexError instead of a clean parsing error. An attacker who can supply a crafted DER private key to an application that parses it can cause a denial of service if the application does not catch unexpected exceptions. Upgrade to python-ecdsa 0.19.2 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0049, the 41st percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:11 UTC First seen by agentprime
  2. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.