cve.bz

CVE-2026-30922 pyasn1 pyasn1: Uncontrolled Recursion

7.5 highExploit referenceEPSS 0.9%Fix available

High (7.5) in pyasn1 pyasn1. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in pyasn1 0.6.3.

On this page
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.3, the `pyasn1` 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 `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. This is a distinct vulnerability from CVE-2026-23490 (which addressed integer overflows in OID decoding). The fix for CVE-2026-23490 (`MAX_OID_ARC_CONTINUATION_OCTETS`) does not mitigate this recursion issue. Version 0.6.3 fixes this specific issue.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-03-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-674 Uncontrolled Recursion
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-30922 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-30922?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-30922?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-30922 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pyasn1:pyasn1before 0.6.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jr27-m4p2-rc6rPyPIpyasn1<0.6.30.6.3
PYSEC-2026-2263PyPIpyasn1<0.6.30.6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11pyasn10.4.8-1+deb11u2DLA-4557-1
Debian12pyasn10.4.8-3+deb12u2DEBIAN-CVE-2026-30922 DSA-6194-1
Debian13pyasn10.6.1-1+deb13u2DEBIAN-CVE-2026-30922 DSA-6194-1
Debian14pyasn10.6.3-1DEBIAN-CVE-2026-30922
Ubuntu22.04:LTSpyasn10.4.8-1ubuntu0.2UBUNTU-CVE-2026-30922
Ubuntu24.04:LTSpyasn10.4.8-4ubuntu0.2UBUNTU-CVE-2026-30922
Ubuntu25.10pyasn10.6.1-1ubuntu0.2UBUNTU-CVE-2026-30922
UbuntuPro:14.04:LTSpyasn10.1.7-1ubuntu2.1+esm1UBUNTU-CVE-2026-30922
UbuntuPro:16.04:LTSpyasn10.1.9-1ubuntu0.1~esm1UBUNTU-CVE-2026-30922
UbuntuPro:18.04:LTSpyasn10.4.2-3ubuntu0.18.04.1~esm1UBUNTU-CVE-2026-30922
UbuntuPro:20.04:LTSpyasn10.4.2-3ubuntu0.20.04.1~esm1UBUNTU-CVE-2026-30922
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.28-3.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.29-2.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.5.10-5.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy-server0:2.5.10-6.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8automation-gateway-server0:2.5.20260422-3.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8automation-gateway-server, python3.12-django-ansible-base, python3.12-django-ansible-base+rbac and 9 more0:2.5.20260422-2.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-jwcrypto0:1.5.7-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-markdown0:3.10.2-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pillow0:12.2.0-1.el8apRHSA-2026:24761
Red Hatansible_automation_platform:2.5::el8python3.12-pyOpenSSL0:26.0.0-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyasn10:0.6.3-1.el8apRHSA-2026:13512
Red Hatansible_automation_platform:2.5::el8python3.12-pyjwt, python3.12-pyjwt+crypto0:2.12.1-1.el8apRHSA-2026:13512
71 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 12 morepython-pyasn10.4.2-150000.3.16.1SUSE-SU-2026:1158-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morepython-pyasn10.5.0-150400.12.13.1SUSE-SU-2026:1075-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5python-pyasn10.1.9-4.14.1SUSE-SU-2026:1076-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-pyasn10.6.1-160000.4.1SUSE-SU-2026:20929-1
SUSELinux Micro 6.0python-pyasn10.5.0-4.1SUSE-SU-2026:20821-1
SUSELinux Micro 6.1python-pyasn10.5.0-slfo.1.1_3.1SUSE-SU-2026:20878-1
SUSELinux Micro 6.2python-pyasn10.6.1-160000.4.1SUSE-SU-2026:20835-1
openSUSELeap 15.6python-pyasn10.5.0-150400.12.13.1SUSE-SU-2026:1075-1
openSUSELeap 16.0python-pyasn10.6.1-160000.4.1openSUSE-SU-2026:20418-1
openSUSETumbleweedpython-pyasn10.6.3-1.1openSUSE-SU-2026:10393-1
AlmaLinux8fence-agents-all, fence-agents-apc, fence-agents-aws and 45 more4.2.1-129.el8_10.25ALSA-2026:12176
AlmaLinux8resource-agents, resource-agents-gcp, resource-agents-paf and 1 more4.9.0-54.el8_10.33ALSA-2026:13902
AlmaLinux9fence-virt, fence-virtd, fence-virtd-cpg and 53 more4.10.0-98.el9_7.13ALSA-2026:13917
AlmaLinux10fence-agents-apc, fence-agents-eps, fence-agents-rsa and 33 more4.16.0-13.el10_1.4ALSA-2026:13916
Rocky Linux8fence-agents0:4.2.1-129.el8_10.25RLSA-2026:12176
Rocky Linux8resource-agents0:4.9.0-54.el8_10.33RLSA-2026:13902
Rocky Linux9fence-agents0:4.10.0-110.el9_8.2RLSA-2026:19355
Rocky Linux9fence-agents0:4.10.0-98.el9_7.13RLSA-2026:13917
Rocky Linux10fence-agents0:4.16.0-13.el10_1.4RLSA-2026:13916
Rocky Linux10fence-agents0:4.16.0-21.el10_2.1RLSA-2026:19138
Azure Linux3python-pyasn10.4.8-2AZL-80238
Alpaquita23py3-asn10.4.8-r5BELL-CVE-2026-30922
Alpaquita25, streampy3-asn10.6.3-r0BELL-CVE-2026-30922

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's 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.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.12-pyasn1-0:0.6.3-1.el8apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-controller-0:4.6.29-2.el8apFixed 2026-06-09RHSA-2026:24761
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.12-pyasn1-0:0.6.3-1.el9apFixed 2026-05-04RHSA-2026:13512
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-controller-0:4.6.29-2.el9apFixed 2026-06-09RHSA-2026:24761
Red Hat Ansible Automation Platform 2.6 for RHEL 9python3.12-pyasn1-0:0.6.3-1.el9apFixed 2026-05-04RHSA-2026:13508
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-controller-0:4.7.12-1.el9apFixed 2026-06-09RHSA-2026:24762
Red Hat Enterprise Linux 10fence-agents-0:4.16.0-13.el10_1.4Fixed 2026-05-06RHSA-2026:13916
Red Hat Enterprise Linux 10fence-agents-0:4.16.0-21.el10_2.1Fixed 2026-05-19RHSA-2026:19138
Red Hat Enterprise Linux 10.0 Extended Update Supportfence-agents-0:4.16.0-5.el10_0.9Fixed 2026-05-13RHSA-2026:17083
Red Hat Enterprise Linux 8fence-agents-0:4.2.1-129.el8_10.25Fixed 2026-04-30RHSA-2026:12176
Migration Toolkit for Containersrhmtc/openshift-migration-rhel8-operatorWill not fix
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-rhel9-operatorWill not fix
Migration Toolkit for Virtualizationmtv-candidate/mtv-rhel9-operatorWill not fix
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Will not fix
OpenShift Lightspeedopenshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9Affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorNot affected
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel8Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel9Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-supported-rhel8Will not fix
106 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-30922.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON