CVE-2026-30922

Publish date: April 5, 2026
Severity
High
CVSS score
7.5
Package
pyasn1
Affected versions

pyasn1 is a generic ASN.1 library for Python. Versions prior to 0.6.3 are vulnerable to a Denial of Service (DoS) attack due to uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can send a carefully crafted payload featuring thousands of nested SEQUENCE (0x30) or SET (0x31) tags, accompanied by "Indefinite Length" (0x80) markers. This results in the decoder recursively calling itself until the Python interpreter either crashes with a RecursionError or exhausts all available memory, leading to the host application crashing. This vulnerability is separate from CVE-2026-23490, which addressed integer overflows in OID decoding. The fix implemented for CVE-2026-23490 (MAX_OID_ARC_CONTINUATION_OCTETS) does not resolve this recursion issue. The specific issue is addressed in version 0.6.3.