Vulnerability
CVE-2026-33936
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.
24 advisories report this vulnerability, across 9 ecosystems.
Advisories
- ALPINE-EDGE-CVE-2026-33936
-
AZL-80975
CVE-2026-33936 affecting package python-ecdsa for versions less than 0.19.2-1
- CGA-5c29-jwfw-mw95
- CGA-6x29-fmcw-gr2r
- CGA-77xh-rmv9-v62p
- CGA-f5v7-47qf-m5jj
- CGA-mg5w-vf2c-h9m8
- CGA-pwvv-wqcq-8m9v
-
DEBIAN-CVE-2026-33936
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…
-
GHSA-9f5j-8jwj-x28g
python-ecdsa: Denial of Service via improper DER length validation in crafted private keys
-
OESA-2026-1828
python-ecdsa security update
-
OESA-2026-1829
python-ecdsa security update
-
OESA-2026-1836
python-ecdsa security update
-
OESA-2026-1837
python-ecdsa security update
-
OESA-2026-1838
python-ecdsa security update
-
OESA-2026-1839
python-ecdsa security update
-
PYSEC-2026-2467
python-ecdsa: Denial of Service via improper DER length validation in crafted private keys
-
SUSE-SU-2026:1436-1
Security update for python-ecdsa
-
SUSE-SU-2026:1608-1
Security update for python-ecdsa
-
SUSE-SU-2026:22158-1
Security update for python-ecdsa
-
SUSEVEX-CVE-2026-33936
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…
-
UBUNTU-CVE-2026-33936
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…
-
openSUSE-SU-2026:10468-1
python311-ecdsa-0.19.2-1.1 on GA media
-
openSUSE-SU-2026:21078-1
Security update for python-ecdsa