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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tlsfuzzer | python-ecdsa | < 0.19.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-ecdsa | 0.19.2-1 | — |
| Debian 13 | python-ecdsa | 0.19.1-1+deb13u1 | — |
| Debian 12 | python-ecdsa | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-ecdsa | No fix yet | — |
| Ubuntu 26.04 LTS | python-ecdsa | No fix yet | — |
| Ubuntu 25.10 | python-ecdsa | No fix yet | — |
| Ubuntu 24.04 LTS | python-ecdsa | No fix yet | — |
| Ubuntu 22.04 LTS | python-ecdsa | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | python-ecdsa | No fix yet | — |
| Ubuntu 18.04 LTS | python-ecdsa | No fix yet | — |
| Ubuntu 16.04 LTS | python-ecdsa | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | python-ecdsa | 0.13.3-150000.3.10.1 | SUSE-SU-2026:1608-1 |
| SLES 3 | python-ecdsa | 0.18.0-150400.12.6.1 | SUSE-SU-2026:1436-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | python-ecdsa | 0.19.1-160000.4.1 | SUSE-SU-2026:22158-1 |
| SLES 16.0 | python-ecdsa | 0.19.1-160000.4.1 | SUSE-SU-2026:22158-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-ecdsa | 0.19.2-1.1 | openSUSE-SU-2026:10468-1 |
| openSUSE Leap 16.0 | python-ecdsa | 0.19.1-160000.4.1 | openSUSE-SU-2026:21078-1 |
| openSUSE Leap 15.6 | python-ecdsa | 0.18.0-150400.12.6.1 | SUSE-SU-2026:1436-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-ecdsa | 0.19.2-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
0xmrma/CVE-2026-33936 ★ 1 · Apr 2, 2026
Denial of Service vulnerability in ecdsa (PyPI)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | ecdsa | < 0.19.2 | 0.19.2 | GHSA-9f5j-8jwj-x28g |
Advisories 5
- openSUSE-SU-2026:21078-1 Security update for python-ecdsa SUSE / openSUSE Security Updates · Jun 30, 2026
- SUSE-SU-2026:22158-1 Security update for python-ecdsa SUSE / openSUSE Security Updates · Jun 24, 2026
- SUSE-SU-2026:1608-1 Security update for python-ecdsa SUSE / openSUSE Security Updates · Apr 25, 2026
- SUSE-SU-2026:1436-1 Security update for python-ecdsa SUSE / openSUSE Security Updates · Apr 18, 2026
- openSUSE-SU-2026:10468-1 python311-ecdsa-0.19.2-1.1 on GA media SUSE / openSUSE Security Updates · Apr 1, 2026