CVE-2026-30922
pyasn1: pyasn1 Vulnerable to Denial of Service via Unbounded Recursion
Severity
ImportantRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · March 18, 2026
Updated · November 1, 2026
Description
An unbounded recursion flaw has been discovered in the pypi pyasn1 library. This uncontrolled recursion occurs when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.
Statement
This vulnerability is rated as having an Important impact by Red Hat because a remote, unauthenticated attacker can crash services or exhaust system resources by supplying malformed input, without needing elevated privileges. While pyasn1 is widely bundled across Red Hat container images and automation tools, the risk is concentrated in services that directly ingest untrusted network data. Applications and utilities operating strictly on authenticated or locally generated inputs face significantly reduced exposure.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.0 · 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-835 · Loop with Unreachable Exit Condition