CVE-2026-30922

pyasn1 Vulnerable to Denial of Service via Unbounded Recursion

HIGH
7.5
CVSS Score
Published: March 18, 2026 at 02:29 AM UTC
Updated: September 10, 2026 at 01:18 PM UTC
10 products affected across 2 vendorsPYASN1OpenShift Container PlatformSatellite

Using pyasn1 by pyasn1?

Get instant alerts when new vulnerabilities affect pyasn1 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.8%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.6.3
Affected range stops below 0.6.3, so it looks safe — our inference, not a vendor statement
All versions
Vendor states this is fixed in 1778244531 (unaffected)
Vendor states this is fixed in 0:0.6.3-1.el8ap (unaffected)
Vendor states this is fixed in 0:0.6.3-1.el9ap (unaffected)
Vendor states this is fixed in 0:4.6.29-2.el8ap (unaffected)
Vendor states this is fixed in 0:4.6.29-2.el9ap (unaffected)
Vendor states this is fixed in 0:4.7.12-1.el9ap (unaffected)
Vendor states this is fixed in 1774417022 (unaffected)
Vendor states this is fixed in 1777296732 (unaffected)
Vendor states this is fixed in 1777311120 (unaffected)
Vendor states this is fixed in 1777387242 (unaffected)
Vendor states this is fixed in 1777398315 (unaffected)
Vendor states this is fixed in 1777402264 (unaffected)
Vendor states this is fixed in 1777403872 (unaffected)
Vendor states this is fixed in 2 (unaffected)
All versions
Vendor states this is fixed in 1776343111 (unaffected)
Vendor states this is fixed in 1778263407 (unaffected)
Vendor states this is fixed in 1782471606 (unaffected)
Vendor states this is fixed in 1782471661 (unaffected)
Vendor states this is fixed in 1782471672 (unaffected)
Vendor states this is fixed in 1782471697 (unaffected)
Vendor states this is fixed in 1782471730 (unaffected)
Vendor states this is fixed in 1782471731 (unaffected)
Vendor states this is fixed in 1782471734 (unaffected)
Vendor states this is fixed in 1782471740 (unaffected)
Vendor states this is fixed in 1782471753 (unaffected)
Vendor states this is fixed in 1782471796 (unaffected)
Vendor states this is fixed in 1782471834 (unaffected)
Vendor states this is fixed in 1782471835 (unaffected)
Vendor states this is fixed in 1782471849 (unaffected)
Vendor states this is fixed in 1782471879 (unaffected)
Vendor states this is fixed in 1782472374 (unaffected)
Vendor states this is fixed in 1787292256 (unaffected)
Vendor states this is fixed in 1787292260 (unaffected)
Vendor states this is fixed in 1787652771 (unaffected)
Vendor states this is fixed in 1787652772 (unaffected)
Vendor states this is fixed in 1787801527 (unaffected)
Vendor states this is fixed in 1788185436 (unaffected)
Vendor states this is fixed in 1788185842 (unaffected)
Vendor states this is fixed in 1788185846 (unaffected)
Vendor states this is fixed in 1788185848 (unaffected)
Vendor states this is fixed in 1788185899 (unaffected)
Vendor states this is fixed in 1788186007 (unaffected)
Vendor states this is fixed in 1788301844 (unaffected)
Vendor states this is fixed in 1788315638 (unaffected)
All versions
Vendor states this is fixed in 1775815407 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (44)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2026/03/20/4
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:10184
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:12176
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:13508
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:13512

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-674CWE-835

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card