Findings

CVE-2026-30922

pyasn1 is a generic ASN.1 library for Python.

Published Mar 18, 2026 · updated Sep 10, 2026 · pyasn1 pyasn1

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.3, the library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing thousands of nested ( ) or ( ) tags with "Indefinite Length" ( ) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a or consumes all available memory (OOM), crashing the host application. This is a distinct vulnerability from CVE-2026-23490 (which addressed integer overflows in OID decoding). The fix for CVE-2026-23490 ( ) does not mitigate this recursion issue. Version 0.6.3 fixes this specific issue.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Mar 18, 2026 · NIST NVD

    Detected

    pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.3, the library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing thousands of nested ( ) or ( ) tags with "Indefinite Length" ( ) markers. This forces the decoder to recursively call itself until the

  2. Sep 10, 2026 · NIST NVD

    Updated

    pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.3, the library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing thousands of nested ( ) or ( ) tags with "Indefinite Length" ( ) markers. This forces the decoder to recursively call itself until the

Affected

  • cpe pyasn1/pyasn1version unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-30922

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-2026-30922

    pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.3, the library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing thousa

    nvd.nist.gov

References