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 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.
DEBIAN-CVE-2026-33936
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-33936
python-ecdsa
Source reference: /affected/0/package/name
- Affected versions
- 0.18.0-3
Source reference:
/affected/0/versions0.18.0-4Source reference:
/affected/0/versions0.18.0-5Source reference:
/affected/0/versions0.19.0-1Source reference:
/affected/0/versions0.19.0-2Source reference:
/affected/0/versions0.19.1-1Source reference:
/affected/0/versions0.19.2-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
python-ecdsa
Source reference: /affected/1/package/name
- Affected versions
- 0.19.1-1
Source reference:
/affected/1/versions - Fixed versions
- 0.19.1-1+deb13u1
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
python-ecdsa
Source reference: /affected/2/package/name
- Affected versions
- 0.19.1-1
Source reference:
/affected/2/versions - Fixed versions
- 0.19.2-1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-ecdsa",
"purl": "pkg:deb/debian/python-ecdsa?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.18.0-3",
"0.18.0-4",
"0.18.0-5",
"0.19.0-1",
"0.19.0-2",
"0.19.1-1",
"0.19.2-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33936.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.19.1-1+deb13u1"
}
]
}
],
"package": {
"name": "python-ecdsa",
"purl": "pkg:deb/debian/python-ecdsa?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"0.19.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33936.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.19.2-1"
}
]
}
],
"package": {
"name": "python-ecdsa",
"purl": "pkg:deb/debian/python-ecdsa?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.19.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33936.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #57554 · Revision 1
- Added to Heist Feed
- Publisher date