7.5
HIGH CVSS 3.1
CVE-2026-30922
pyasn1 Vulnerable to Denial of Service via Unbounded 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.

INFO

Published Date :

March 18, 2026, 4:17 a.m.

Last Modified :

March 21, 2026, 1:17 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-30922 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Pyasn1 pyasn1
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Update pyasn1 to version 0.6.3 or later to fix DoS via uncontrolled recursion.
  • Update the pyasn1 library to version 0.6.3 or newer.
  • Ensure input data has limited nesting depth.
  • Monitor resource usage during decoding.
Public PoC/Exploit Available at Github

CVE-2026-30922 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-30922.

URL Resource
https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0 Patch
https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r Exploit Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/03/20/4
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-30922 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-30922 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 2 weeks, 2 days ago
7 stars 0 fork 0 watcher
Born at : March 21, 2026, 2:58 p.m. This repo has been linked 1 different CVEs too.

Open-source operational platform that extends Platform9 with the engineering automation, governance, and operational tooling required by MSP and enterprise teams. Provides inventory intelligence, snapshot automation, VM restore orchestration, tenant onboarding , runbooks, compliance visibility, and ops analytics across Platform9 environments.

cloud-operations devops docker fastapi msp openstack platform9 postgresql react

Python Dockerfile PowerShell Shell JavaScript HTML CSS TypeScript PLpgSQL

Updated: 2 weeks, 3 days ago
1 stars 0 fork 0 watcher
Born at : Feb. 4, 2026, 8:43 a.m. This repo has been linked 1 different CVEs too.

DSA and DLA for Debian last 14 days

Python

Updated: 2 days, 19 hours ago
0 stars 0 fork 0 watcher
Born at : Feb. 12, 2025, 2:08 p.m. This repo has been linked 126 different CVEs too.

All Public RunWhen Helm Charts - Managed by terraform

Shell Dockerfile Go Template

Updated: 3 days, 10 hours ago
1 stars 0 fork 0 watcher
Born at : Sept. 18, 2023, 10:09 a.m. This repo has been linked 98 different CVEs too.

HTTPS client implementation for httplib and urllib2 based on PyOpenSSL

Python Shell Dockerfile

Updated: 2 weeks ago
19 stars 20 fork 20 watcher
Born at : Sept. 2, 2013, 12:53 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-30922 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-30922 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 21, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/20/4
  • Initial Analysis by [email protected]

    Mar. 20, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:pyasn1:pyasn1:*:*:*:*:*:python:*:* versions up to (excluding) 0.6.3
    Added Reference Type GitHub, Inc.: https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r Types: Exploit, Vendor Advisory
  • New CVE Received by [email protected]

    Mar. 18, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-674
    Added Reference https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0
    Added Reference https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.