CVE-2026-33936 python-ecdsa: Denial of Service via improper DER length validation in crafted private keys
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
14 packages: 5 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cbl-mariner python-ecdsa(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| debian/python-ecdsa(Debian 12) | = 0.18.0-3; = 0.18.0-4; = 0.18.0-5; = 0.19.0-1 +5 more | No fix listed | No fix yet |
| redhat/python-ecdsa(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/satellite-capsule:el8/python-ecdsa(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| ubuntu/python-ecdsa(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-ecdsa(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-ecdsa(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-ecdsa(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux python-ecdsa(Azure Linux 3.0) | < 0.19.2-1 | 0.19.2-1 | Fixed |
| debian/python-ecdsa(Debian 13) | < 0.19.1-1+deb13u1; = 0.19.1-1 | 0.19.1-1+deb13u1 | Fixed |
| debian/python-ecdsa(Debian 14) | < 0.19.2-1; = 0.19.1-1 | 0.19.2-1 | Fixed |
| pypi ecdsa(PyPI) | < 0.19.2; = 0.6; = 0.7; = 0.8 +19 more | 0.19.2 | Fixed |
| tlsfuzzer ecdsa | < 0.19.2 | 0.19.2 | Fixed |
| tlsfuzzer python-ecdsa | = < 0.19.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi ecdsa(PyPI) | < 0.19.2 | 0.19.2 |
| pypi ecdsa(PyPI) | = 0.10 | No fix listed |
| pypi ecdsa(PyPI) | = 0.11 | No fix listed |
| pypi ecdsa(PyPI) | = 0.12 | No fix listed |
| pypi ecdsa(PyPI) | = 0.13 | No fix listed |
| pypi ecdsa(PyPI) | = 0.13.1 | No fix listed |
| pypi ecdsa(PyPI) | = 0.13.2 | No fix listed |
| pypi ecdsa(PyPI) | = 0.13.3 | No fix listed |
| pypi ecdsa(PyPI) | = 0.14 | No fix listed |
| pypi ecdsa(PyPI) | = 0.14.1 | No fix listed |
| pypi ecdsa(PyPI) | = 0.15 | No fix listed |
| pypi ecdsa(PyPI) | = 0.16.0 | No fix listed |
| pypi ecdsa(PyPI) | = 0.16.1 | No fix listed |
| pypi ecdsa(PyPI) | = 0.17.0 | No fix listed |
| pypi ecdsa(PyPI) | = 0.18.0 | No fix listed |
| pypi ecdsa(PyPI) | = 0.18.0b1 | No fix listed |
| pypi ecdsa(PyPI) | = 0.18.0b2 | No fix listed |
| pypi ecdsa(PyPI) | = 0.19.0 | No fix listed |
| pypi ecdsa(PyPI) | = 0.19.1 | No fix listed |
| pypi ecdsa(PyPI) | = 0.6 | No fix listed |
| pypi ecdsa(PyPI) | = 0.7 | No fix listed |
| pypi ecdsa(PyPI) | = 0.8 | No fix listed |
| pypi ecdsa(PyPI) | = 0.9 | No fix listed |
| cbl-mariner python-ecdsa(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux python-ecdsa(Azure Linux:3.0) | < 0.19.2-1 | 0.19.2-1 |
Show 23 more
| Product | Affected versions | Fixed in |
|---|---|---|
| tlsfuzzer python-ecdsa | = < 0.19.2 | No fix listed |
| debian/python-ecdsa(Debian:12) | All versions | No fix listed |
| debian/python-ecdsa(Debian:12) | = 0.18.0-3 | No fix listed |
| debian/python-ecdsa(Debian:12) | = 0.18.0-4 | No fix listed |
| debian/python-ecdsa(Debian:12) | = 0.18.0-5 | No fix listed |
| debian/python-ecdsa(Debian:12) | = 0.19.0-1 | No fix listed |
| debian/python-ecdsa(Debian:12) | = 0.19.0-2 | No fix listed |
| debian/python-ecdsa(Debian:12) | = 0.19.1-1 | No fix listed |
| debian/python-ecdsa(Debian:12) | = 0.19.2-1 | No fix listed |
| debian/python-ecdsa(Debian:12) | = 0.19.2-2 | No fix listed |
| debian/python-ecdsa(Debian:13) | < 0.19.1-1+deb13u1 | 0.19.1-1+deb13u1 |
| debian/python-ecdsa(Debian:13) | = 0.19.1-1 | No fix listed |
| debian/python-ecdsa(Debian:14) | < 0.19.2-1 | 0.19.2-1 |
| debian/python-ecdsa(Debian:14) | = 0.19.1-1 | No fix listed |
| redhat/python-ecdsa(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/python-ecdsa(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/satellite-capsule:el8/python-ecdsa(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/python-ecdsa(Red Hat:rhui:4::el8) | All versions | No fix listed |
| ubuntu/python-ecdsa(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python-ecdsa(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-ecdsa(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python-ecdsa(Ubuntu:26.10) | All versions | No fix listed |
| tlsfuzzer ecdsa | < 0.19.2 | 0.19.2 |
References
- https://github.com/tlsfuzzer/python-ecdsa/security/advisories/GHSA-9f5j-8jwj-x28g exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/tlsfuzzer/python-ecdsa/commit/bd66899550d7185939bf27b75713a2ac9325a9d3 patch
- github.com product
- https://github.com/tlsfuzzer/python-ecdsa/releases/tag/python-ecdsa-0.19.2 product release-notes
- pypi.org product
- github.com vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Debian Security Tracker CVE-2026-33936 vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2452539 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking