ADVISORIES

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
    CVE-2026-33936 Alpine Updated 18 November 2026
  • AZL-80975

    CVE-2026-33936 affecting package python-ecdsa for versions less than 0.19.2-1

    CVE-2026-33936 Azure Linux Updated 28 August 2026
  • CGA-5c29-jwfw-mw95
    CVE-2026-33936 Chainguard Updated 5 November 2026
  • CGA-6x29-fmcw-gr2r
    CVE-2026-33936 Chainguard Updated 30 October 2026
  • CGA-77xh-rmv9-v62p
    CVE-2026-33936 Chainguard Updated 5 November 2026
  • CGA-f5v7-47qf-m5jj
    CVE-2026-33936 Chainguard Updated 5 November 2026
  • CGA-mg5w-vf2c-h9m8
    CVE-2026-33936 Chainguard Updated 30 October 2026
  • CGA-pwvv-wqcq-8m9v
    CVE-2026-33936 Chainguard Updated 5 November 2026
  • 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…

    CVE-2026-33936 Debian Updated 27 October 2026
  • GHSA-9f5j-8jwj-x28g

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

    Moderate CVE-2026-33936 PyPI Updated 10 September 2026
  • OESA-2026-1828

    python-ecdsa security update

    Medium CVE-2026-33936 openEuler Updated 18 August 2026
  • OESA-2026-1829

    python-ecdsa security update

    Medium CVE-2026-33936 openEuler Updated 18 August 2026
  • OESA-2026-1836

    python-ecdsa security update

    Medium CVE-2026-33936 openEuler Updated 18 August 2026
  • OESA-2026-1837

    python-ecdsa security update

    Medium CVE-2026-33936 openEuler Updated 18 August 2026
  • OESA-2026-1838

    python-ecdsa security update

    Medium CVE-2026-33936 openEuler Updated 18 August 2026
  • OESA-2026-1839

    python-ecdsa security update

    Medium CVE-2026-33936 openEuler Updated 18 August 2026
  • PYSEC-2026-2467

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

    CVE-2026-33936 PyPI Updated 13 July 2026
  • SUSE-SU-2026:1436-1

    Security update for python-ecdsa

    CVE-2026-33936 SUSEopenSUSE Updated 18 April 2026
  • SUSE-SU-2026:1608-1

    Security update for python-ecdsa

    CVE-2026-33936 SUSE Updated 25 April 2026
  • SUSE-SU-2026:22158-1

    Security update for python-ecdsa

    CVE-2026-33936 SUSE Updated 24 June 2026
  • 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…

    Moderate CVE-2026-33936 SUSE Updated 11 September 2026
  • 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…

    CVE-2026-33936 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:10468-1

    python311-ecdsa-0.19.2-1.1 on GA media

    CVE-2026-33936 openSUSE Updated 1 April 2026
  • openSUSE-SU-2026:21078-1

    Security update for python-ecdsa

    CVE-2026-33936 openSUSE Updated 30 June 2026

References