CVE-2026-33936
published medium CVSS 3.1 · 5.3python-ecdsa: Denial of Service via improper DER length validation in crafted private keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| tlsfuzzer | — | python-ecdsa< 0.19.2 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | py3-ecdsa | Fixed | 0.19.2-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP7 | python3-ecdsanoarch | Advisory build | 0.13.3-150000.3.10.1 | SUSE-SU-2026:1608-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-ecdsanoarch | Advisory build | 0.18.0-150400.12.6.1 | SUSE-SU-2026:1436-1 |
| SUSE / openSUSE | SLE-16 | python313-ecdsanoarch | Advisory build | 0.19.1-160000.4.1 | SUSE-SU-2026:22158-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-ecdsanoarch | Advisory build | 0.18.0-150400.12.6.1 | SUSE-SU-2026:1436-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-ecdsanoarch | Advisory build | 0.18.0-150400.12.6.1 | SUSE-SU-2026:1436-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-ecdsanoarch | Advisory build | 0.19.1-160000.4.1 | OPENSUSE-SU-2026:21078-1 |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ecdsaaarch64 | Advisory build | 0.19.2-1.1 | OPENSUSE-SU-2026:10468-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ecdsappc64le | Advisory build | 0.19.2-1.1 | OPENSUSE-SU-2026:10468-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ecdsas390x | Advisory build | 0.19.2-1.1 | OPENSUSE-SU-2026:10468-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ecdsax86_64 | Advisory build | 0.19.2-1.1 | OPENSUSE-SU-2026:10468-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ecdsaaarch64 | Advisory build | 0.19.2-1.1 | OPENSUSE-SU-2026:10468-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ecdsappc64le | Advisory build | 0.19.2-1.1 | OPENSUSE-SU-2026:10468-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ecdsas390x | Advisory build | 0.19.2-1.1 | OPENSUSE-SU-2026:10468-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ecdsax86_64 | Advisory build | 0.19.2-1.1 | OPENSUSE-SU-2026:10468-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tlsfuzzer | python-ecdsa | < 0.19.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-130 CWE-130: Improper Handling of Length Parameter Inconsistency
References
3Provider assertions
2GitHub_M · cna
python-ecdsa: Denial of Service via improper DER length validation in crafted private keys
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f614523f94ae2a20e41c93cef648a3f3926064162ee768546be2c9061e71d290
- Ingested
- 23 Sep 2026, 09:10:54 UTC
- Source record
- Official CVE record