{"answers":{"affected":"3 open source packages ship an affected version, including pyasn1. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30922 exists.","fix":"Upgrade pyasn1 to 0.6.3 or later.","what":"CVE-2026-30922 is a high-severity denial of service vulnerability in pyasn1, published on 18 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-30922 and fix it if it is affected.\n\nWhat it is: CVE-2026-30922 is a high-severity denial of service vulnerability in pyasn1, published on 18 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30922 exists.\n\nAffected packages and fixed versions:\n- pyasn1 (PyPI): affected all versions; fixed in 0.6.3\n- pyasn1 (PyPI): affected all versions; fixed in 0.6.3\n- pyasn1 (PyPI): affected all versions; fixed in 0.6.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-30922/ (Markdown: https://insights.sbomify.com/CVE-2026-30922/index.md)","id":"CVE-2026-30922","markdown":"https://insights.sbomify.com/CVE-2026-30922/index.md","name":"CVE-2026-30922","record":{"aliases":["ALSA-2026:13902","ALSA-2026:13917","AZL-80238","BELL-CVE-2026-30922","CLEANSTART-2026-BW26261","CLEANSTART-2026-HQ36260","DEBIAN-CVE-2026-30922","ECHO-b1bf-5a18-ca74","GHSA-jr27-m4p2-rc6r","MGASA-2026-0087","MINI-2h75-8x42-8g23","MINI-2hjq-jmjw-w87v","MINI-95ch-cw4g-j7w3","MINI-cgwm-24qr-7rh6","MINI-cjw8-9wwv-6v58","MINI-f3p5-j7jg-rvg6","MINI-f5j2-f7rp-3c5q","MINI-hrmp-qfwg-h782","MINI-mfrp-m8qv-4fx8","MINI-p2jp-xgx3-x8fg","MINI-pq4f-vh5f-8hgv","MINI-q27c-83cq-x94p","MINI-w45r-vx8m-7fcr","OESA-2026-1775","OESA-2026-1776","OESA-2026-1779","OESA-2026-1780","OESA-2026-2764","OESA-2026-2765","PYSEC-2026-2263","RHSA-2026:13902","RHSA-2026:13917","RHSA-2026:20588","RHSA-2026:22131","RHSA-2026:22132","RHSA-2026:22133","RHSA-2026:22134","RHSA-2026:22135","RHSA-2026:22969","RHSA-2026:22970","RHSA-2026:22987","RLSA-2026:13902","RLSA-2026:13917","ROOT-APP-PYPI-CVE-2026-30922","SUSE-SU-2026:1075-1","SUSE-SU-2026:1076-1","SUSE-SU-2026:1158-1","SUSE-SU-2026:20821-1","SUSE-SU-2026:20835-1","SUSE-SU-2026:20878-1","SUSE-SU-2026:20929-1","openSUSE-SU-2026:10393-1","openSUSE-SU-2026:20418-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python ASN.1 library","requires_auth":"none","summary":"Attackers can crash applications using pyasn1 by sending deeply nested ASN.1 data, causing uncontrolled recursion and resource exhaustion.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pyasn1","vendor":"pyasn1"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"},{"id":"CWE-674","name":"Uncontrolled Recursion"}],"description":"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","PyPI","Red Hat:enterprise_linux:8::highavailability","Red Hat:enterprise_linux:8::resilientstorage","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.4::highavailability","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.6::highavailability","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:8.8::highavailability","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::highavailability","Red Hat:rhel_e4s:9.2::resilientstorage","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_e4s:9.4::highavailability","Red Hat:rhel_e4s:9.4::resilientstorage","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_eus_long_life:8.4::highavailability","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.6::highavailability","Red Hat:rhel_tus:8.8::appstream","Red Hat:rhel_tus:8.8::highavailability","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Python 3 15 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Linux Micro 6.2","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"pyasn1 Vulnerable to Denial of Service via Unbounded Recursion","id":"CVE-2026-30922","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":952,"n_references":2,"next":{"headline":"libModSecurity3 denial of service via segfault when using t:hexDecode on single-character query strings","id":"CVE-2026-30923"},"packages":[{"ecosystem":"PyPI","fixed":["0.6.3"],"introduced":["0"],"last_affected":[],"package":"pyasn1","purl":null,"source":"GHSA-jr27-m4p2-rc6r"},{"ecosystem":"PyPI","fixed":["0.6.3"],"introduced":["0"],"last_affected":[],"package":"pyasn1","purl":"pkg:pypi/pyasn1","source":"GHSA-jr27-m4p2-rc6r"},{"ecosystem":"PyPI","fixed":["0.6.3"],"introduced":["0"],"last_affected":[],"package":"pyasn1","purl":"pkg:pypi/pyasn1","source":"PYSEC-2026-2263"},{"ecosystem":"AlmaLinux:8","fixed":["4.9.0-54.el8_10.33"],"introduced":["0"],"last_affected":[],"package":"resource-agents","purl":"pkg:rpm/almalinux/resource-agents","source":"ALSA-2026:13902"},{"ecosystem":"AlmaLinux:8","fixed":["4.9.0-54.el8_10.33"],"introduced":["0"],"last_affected":[],"package":"resource-agents-aliyun","purl":"pkg:rpm/almalinux/resource-agents-aliyun","source":"ALSA-2026:13902"},{"ecosystem":"AlmaLinux:8","fixed":["4.9.0-54.el8_10.33"],"introduced":["0"],"last_affected":[],"package":"resource-agents-gcp","purl":"pkg:rpm/almalinux/resource-agents-gcp","source":"ALSA-2026:13902"},{"ecosystem":"AlmaLinux:8","fixed":["4.9.0-54.el8_10.33"],"introduced":["0"],"last_affected":[],"package":"resource-agents-paf","purl":"pkg:rpm/almalinux/resource-agents-paf","source":"ALSA-2026:13902"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aliyun","purl":"pkg:rpm/almalinux/fence-agents-aliyun","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-all","purl":"pkg:rpm/almalinux/fence-agents-all","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-amt-ws","purl":"pkg:rpm/almalinux/fence-agents-amt-ws","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc","purl":"pkg:rpm/almalinux/fence-agents-apc","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc-snmp","purl":"pkg:rpm/almalinux/fence-agents-apc-snmp","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aws","purl":"pkg:rpm/almalinux/fence-agents-aws","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-azure-arm","purl":"pkg:rpm/almalinux/fence-agents-azure-arm","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-bladecenter","purl":"pkg:rpm/almalinux/fence-agents-bladecenter","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-brocade","purl":"pkg:rpm/almalinux/fence-agents-brocade","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-mds","purl":"pkg:rpm/almalinux/fence-agents-cisco-mds","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-ucs","purl":"pkg:rpm/almalinux/fence-agents-cisco-ucs","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-common","purl":"pkg:rpm/almalinux/fence-agents-common","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-compute","purl":"pkg:rpm/almalinux/fence-agents-compute","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-drac5","purl":"pkg:rpm/almalinux/fence-agents-drac5","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eaton-snmp","purl":"pkg:rpm/almalinux/fence-agents-eaton-snmp","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-emerson","purl":"pkg:rpm/almalinux/fence-agents-emerson","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eps","purl":"pkg:rpm/almalinux/fence-agents-eps","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-gce","purl":"pkg:rpm/almalinux/fence-agents-gce","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-heuristics-ping","purl":"pkg:rpm/almalinux/fence-agents-heuristics-ping","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-hpblade","purl":"pkg:rpm/almalinux/fence-agents-hpblade","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-powervs","purl":"pkg:rpm/almalinux/fence-agents-ibm-powervs","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-vpc","purl":"pkg:rpm/almalinux/fence-agents-ibm-vpc","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibmblade","purl":"pkg:rpm/almalinux/fence-agents-ibmblade","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ifmib","purl":"pkg:rpm/almalinux/fence-agents-ifmib","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-moonshot","purl":"pkg:rpm/almalinux/fence-agents-ilo-moonshot","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-mp","purl":"pkg:rpm/almalinux/fence-agents-ilo-mp","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-ssh","purl":"pkg:rpm/almalinux/fence-agents-ilo-ssh","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo2","purl":"pkg:rpm/almalinux/fence-agents-ilo2","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-intelmodular","purl":"pkg:rpm/almalinux/fence-agents-intelmodular","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipdu","purl":"pkg:rpm/almalinux/fence-agents-ipdu","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipmilan","purl":"pkg:rpm/almalinux/fence-agents-ipmilan","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kdump","purl":"pkg:rpm/almalinux/fence-agents-kdump","source":"ALSA-2026:13917"},{"ecosystem":"AlmaLinux:9","fixed":["4.10.0-98.el9_7.13"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kubevirt","purl":"pkg:rpm/almalinux/fence-agents-kubevirt","source":"ALSA-2026:13917"}],"prev":{"headline":"OneUptime Synthetic Monitor RCE via exposed Playwright browser object","id":"CVE-2026-30921"},"products":["pyasn1"],"published":"2026-03-18","related":[{"cvss_score":7.5,"headline":"pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs","id":"CVE-2026-59884","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":7.5,"headline":"pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service","id":"CVE-2026-59885","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":7.5,"headline":"pyasn1: Uncontrolled resource consumption when converting decoded REAL values","id":"CVE-2026-59886","kev_date_added":null,"published":"2026-07-14"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-17","vendors":["pyasn1"]},"summary":"Attackers can crash applications using pyasn1 by sending deeply nested ASN.1 data, causing uncontrolled recursion and resource exhaustion.","url":"https://insights.sbomify.com/CVE-2026-30922/"}