CVE-2026-33936 | python-ecdsa: Denial of Service via improper DER length validation in crafted private keys

Exp

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.

Published: 2026-03-27 Last update: 2026-04-01 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-33936 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.05%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2026-33936

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2026-33936

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-03 0.05% 0.05% -0.01%
2 2026-05-08 0.04% 0.05% +0.02%
3 2026-04-21 0.04%

Full EPSS history (5 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-33936

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 1.4 [email protected]

Weakness enumeration for CVE-2026-33936

GitHub Security Advisory for CVE-2026-33936

GHSA-9f5j-8jwj-x28g · Severity: medium · Ecosystem: pip — python-ecdsa: Denial of Service via improper DER length validation in crafted private keys

OS Trackers for CVE-2026-33936

vendor priority summary link
alpine CVE-2026-33936: 1 source package rows (py3-ecdsa); 5 state rows across 2 repos (3.23-community, edge-community); fixed 0, open 5. https://security.alpinelinux.org/vuln/CVE-2026-33936
debian not yet assigned CVE-2026-33936 not yet assigned priority: Debian including 1 source packages (python-ecdsa), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. https://security-tracker.debian.org/tracker/CVE-2026-33936
redhat medium https://access.redhat.com/security/cve/CVE-2026-33936
suse medium https://www.suse.com/security/cve/CVE-2026-33936/
ubuntu medium CVE-2026-33936 medium priority: Ubuntu including 1 source packages (python-ecdsa), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, upstream, xenial): needs-triage 7. https://ubuntu.com/security/CVE-2026-33936

Affected software / configurations for CVE-2026-33936

Vendor Product Version Raw CPE
tlsfuzzer ecdsa < 0.19.2 cpe:2.3:a:tlsfuzzer:ecdsa:*:*:*:*:*:python:*:*

References for CVE-2026-33936

cvelogic Threat Intelligence