CVE-2026-33936: python-ecdsa: Denial of Service via improper DER length validation in crafted private keys
Vulnerability summary
CVE-2026-33936 is a medium (CVSS 5.3) Improper Input Validation vulnerability in tlsfuzzer ecdsa. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 41.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 27-03-2026PublishedVulnerability first disclosed.
- 01-04-2026Last modifiedVulnerability information updated.
Description
The `ecdsa` PyPI package is a pure Python implementation of ECC (Elliptic Curve Cryptography) with support for ECDSA (Elliptic Curve Digital Signature Algorithm), EdDSA (Edwards-curve Digital Signature Algorithm) and ECDH (Elliptic Curve Diffie-Hellman). Prior to version 0.19.2, an issue in the low-level DER parsing functions can cause unexpected exceptions to be raised from the public API functions. `ecdsa.der.remove_octet_string()` accepts truncated DER where the encoded length exceeds the available buffer. For example, an OCTET STRING that declares a length of 4096 bytes but provides only 3 bytes is parsed successfully instead of being rejected. Because of that, a crafted DER input can cause `SigningKey.from_der()` to raise an internal exception (`IndexError: index out of bounds on dimension 1`) rather than cleanly rejecting malformed DER (e.g., raising `UnexpectedDER` or `ValueError`). Applications that parse untrusted DER private keys may crash if they do not handle unexpected exceptions, resulting in a denial of service. Version 0.19.2 patches the issue.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
Decrease -0.04 pp
From 0.52% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPython Ecdsa
Maturity: poc
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-130Improper Handling of Length Parameter InconsistencyThe product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse4 products
- python-ecdsa&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 0.13.3-150000.3.10.1
- python-ecdsa&distro=SUSE Linux Enterprise Module for Python 3 15 SP7< 0.18.0-150400.12.6.1
- python-ecdsa&distro=SUSE Linux Enterprise Server 16.0< 0.19.1-160000.4.1
- python-ecdsa&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 0.19.1-160000.4.1
Chainguard3 products
- airflow-2< 2.11.2-r5
- awx< 24.6.1-r33
- py3.13-duplicityAll versions (No fix recorded)
Opensuse3 products
- python-ecdsa&distro=openSUSE Leap 15.6< 0.18.0-150400.12.6.1
- python-ecdsa&distro=openSUSE Leap 16.0< 0.19.1-160000.4.1
- python-ecdsa&distro=openSUSE Tumbleweed< 0.19.2-1.1
Tlsfuzzer2 products
- ecdsa< 0.19.2
- python-ecdsa< 0.19.2
Debian1 product
- python-ecdsaAll versions (No fix recorded) | < 0.19.1-1+deb13u1 | < 0.19.2-1
PyPI1 product
- ecdsa< 0.19.2
Ubuntu1 product
- python-ecdsaAll versions (No fix recorded)
7 vendors · 15 products
References
16 links- github.com/tlsfuzzer/python-ecdsa/security/advisories/GHSA-9f5j-8jwj-x28gX Refsource CONFIRMWEBREPORTAdvisoryExploitMitigationVendor Advisory
- github.com/tlsfuzzer/python-ecdsa/commit/bd66899550d7185939bf27b75713a2ac9325a9d3X Refsource MISCWEBREPORTFIXPatch
- github.com/tlsfuzzer/python-ecdsa/releases/tag/python-ecdsa-0.19.2X Refsource MISCWEBREPORTProductRelease Notes
Show all 16 references
- pypi.org/project/ecdsaPACKAGE