CVE-2026-30922: pyasn1 Vulnerable to Denial of Service via Unbounded Recursion
Vulnerability summary
CVE-2026-30922 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in pyasn1. EPSS estimates a 0.82% chance of exploitation in the next 30 days, higher than 57.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 3Timeline
- 18-03-2026PublishedVulnerability first disclosed.
- 17-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 2 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.82%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Decrease -0.11 pp
From 0.93% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPyasn1
Maturity: poc
Weaknesses
CWE · root cause- CWE-674Uncontrolled RecursionThe product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
- CWE-835Loop with Unreachable Exit ConditionThe product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat77 products
- fence-agents< 0:4.10.0-98.el9_7.13 | < 0:4.2.1-112.el8_8.17 | < 0:4.2.1-89.el8_6.22 | < 0:4.2.1-65.el8_4.28 | < 0:4.10.0-62.el9_4.25 | < 0:4.10.0-86.el9_6.17 | < 0:4.10.0-43.el9_2.22
- fence-agents-aliyun< 0:4.10.0-98.el9_7.13 | < 0:4.2.1-112.el8_8.17 | < 0:4.2.1-89.el8_6.22 | < 0:4.2.1-65.el8_4.28 | < 0:4.10.0-62.el9_4.25 | < 0:4.10.0-86.el9_6.17 | < 0:4.10.0-43.el9_2.22
- fence-agents-aliyun-debuginfo< 0:4.2.1-112.el8_8.17 | < 0:4.2.1-89.el8_6.22 | < 0:4.2.1-65.el8_4.28
- fence-agents-all< 0:4.10.0-98.el9_7.13 | < 0:4.2.1-112.el8_8.17 | < 0:4.2.1-89.el8_6.22 | < 0:4.2.1-65.el8_4.28 | < 0:4.10.0-62.el9_4.25 | < 0:4.10.0-86.el9_6.17 | < 0:4.10.0-43.el9_2.22
- fence-agents-amt-ws< 0:4.10.0-98.el9_7.13 | < 0:4.2.1-112.el8_8.17 | < 0:4.2.1-89.el8_6.22 | < 0:4.2.1-65.el8_4.28 | < 0:4.10.0-62.el9_4.25 | < 0:4.10.0-86.el9_6.17 | < 0:4.10.0-43.el9_2.22
Chainguard55 products
- airflow-2< 2.11.2-r3
- airflow-3< 3.1.8-r9
- ansible-operator< 1.42.2-r0
- ansible-operator-fips< 1.42.2-r0
- apache-beam-python-3.12-sdk< 2.71.0-r1
Suse24 products
- python-pyasn1&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 0.4.2-150000.3.16.1 | < 0.5.0-150400.12.13.1
- python-pyasn1&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 0.4.2-150000.3.16.1 | < 0.5.0-150400.12.13.1
- python-pyasn1&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 0.4.2-150000.3.16.1 | < 0.5.0-150400.12.13.1
- python-pyasn1&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 0.4.2-150000.3.16.1 | < 0.5.0-150400.12.13.1
- python-pyasn1&distro=SUSE Linux Enterprise Micro 5.2< 0.4.2-150000.3.16.1
Wolfi17 products
- airflow-3< 3.1.8-r9
- datadog-agent-7.72-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.73-core-integrations< 7.73.3-r23
- datadog-agent-7.74-core-integrations< 7.74.1-r24
- datadog-agent-7.75-core-integrationsAll versions (No fix recorded)
Opensuse3 products
- python-pyasn1&distro=openSUSE Leap 15.6< 0.5.0-150400.12.13.1
- python-pyasn1&distro=openSUSE Leap 16.0< 0.6.1-160000.4.1
- python-pyasn1&distro=openSUSE Tumbleweed< 0.6.3-1.1
Debian1 product
- pyasn1< 0.4.8-3+deb12u2 | < 0.6.1-1+deb13u2 | < 0.6.3-1
Mageia1 product
- python-pyasn1< 0.4.8-6.2.mga9
Pyasn11 product
- pyasn1< 0.6.3
PyPI1 product
- pyasn1< 0.6.3
Ubuntu1 product
- pyasn1< 0.1.7-1ubuntu2.1+esm1 | < 0.1.9-1ubuntu0.1~esm1 | < 0.4.2-3ubuntu0.18.04.1~esm1 | < 0.4.2-3ubuntu0.20.04.1~esm1 | < 0.4.8-1ubuntu0.2 | < 0.4.8-4ubuntu0.2 | < 0.6.1-1ubuntu0.2
10 vendors · 181 products
References
79 links- github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6rX Refsource CONFIRMAdvisoryWEBEVIDENCEARTICLEREPORTExploitVendor Advisory
- github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0X Refsource MISCWEBFIXARTICLEPatch
Show all 79 references
- github.com/pyasn1/pyasn1PACKAGE