cve.bz

CVE-2026-59884 pyasn1 pyasn1: Uncontrolled Resource Consumption

7.5 highEPSS 0.3%Fix available

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

On this page
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER decoder shared by the CER and DER codecs parses long-form tags by accumulating continuation octets without an upper bound on the tag ID size, allowing a crafted input to force construction of an arbitrarily large integer with CPU cost growing quadratically and to trigger unhandled ValueError exceptions in Python 3.11+ error formatting paths. Any application decoding untrusted BER, CER, or DER input is affected. This issue is fixed in version 0.6.4.

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.3% (down from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-07-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-59884 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59884?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59884?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-59884 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.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m4p7-r5rc-7g4jPyPIpyasn1<0.6.40.6.4
PYSEC-2026-3455PyPIpyasn1<0.6.40.6.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pyasn10.4.8-3+deb12u3DEBIAN-CVE-2026-59884 DLA-4778-1
Debian13pyasn10.6.1-1+deb13u3DEBIAN-CVE-2026-59884
Debian14pyasn10.6.4-1DEBIAN-CVE-2026-59884
Ubuntu22.04:LTSpyasn10.4.8-1ubuntu0.3UBUNTU-CVE-2026-59884 USN-8712-1 USN-9011-1
Ubuntu24.04:LTSpyasn10.4.8-4ubuntu0.3UBUNTU-CVE-2026-59884 USN-8712-1 USN-9011-1
Ubuntu26.04:LTSpyasn10.6.3-1ubuntu0.1UBUNTU-CVE-2026-59884 USN-8712-1 USN-9011-1
Ubuntu26.10pyasn10.6.4-1ubuntu0.1USN-9011-1
UbuntuPro:14.04:LTSpyasn10.1.7-1ubuntu2.1+esm2UBUNTU-CVE-2026-59884 USN-9011-1
UbuntuPro:16.04:LTSpyasn10.1.9-1ubuntu0.1~esm2UBUNTU-CVE-2026-59884 USN-9011-1
UbuntuPro:18.04:LTSpyasn10.4.2-3ubuntu0.18.04.1~esm2UBUNTU-CVE-2026-59884 USN-9011-1
UbuntuPro:20.04:LTSpyasn10.4.2-3ubuntu0.20.04.1~esm2UBUNTU-CVE-2026-59884 USN-9011-1
Red Hathummingbird:1jaeger0:2.19.0-1.1.hum1RHSA-2026:40236
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.16.1SUSE-SU-2026:3238-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-pyasn10.6.1-160000.5.1SUSE-SU-2026:22830-1
SUSELinux Micro 6.0python-pyasn10.5.0-5.1SUSE-SU-2026:23006-1
SUSELinux Micro 6.1python-pyasn10.5.0-slfo.1.1_4.1SUSE-SU-2026:23167-1
SUSELinux Micro 6.2python-pyasn10.6.1-160000.5.1SUSE-SU-2026:22765-1
openSUSELeap 16.0python-pyasn10.6.1-160000.5.1openSUSE-SU-2026:21392-1
openSUSETumbleweedpython-pyasn10.6.4-1.1openSUSE-SU-2026:11318-1
Azure Linux3python-pyasn10.4.8-3AZL-92433
Alpaquita23py3-asn10.4.8-r6BELL-CVE-2026-59884
Alpaquita25, streampy3-asn10.6.4-r0BELL-CVE-2026-59884

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; 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 Moderate.

Red Hat's statement

A flaw was found in pyasn1's BER decoder. The decoder parses long-form tags by accumulating continuation octets without an upper bound, allowing crafted input to force construction of an arbitrarily large integer with quadratic CPU cost. On Python 3.11+, this can also trigger unhandled ValueError exceptions. Exploitation requires that an application passes untrusted BER, CER, or DER input directly to the pyasn1 decoder — pyasn1 is a library and does not independently accept network input. Many common uses of pyasn1 involve parsing trusted certificates or local configuration and are not exposed to this flaw. The realistic impact is a denial-of-service of the consuming Python process, with automatic recovery in typical service deployments.

Red Hat's mitigation

Update to pyasn1 version 0.6.4 or later when available for your product stream. The impact is limited to availability (denial of service) — an attacker cannot access or modify data. Applications that do not process untrusted ASN.1/BER input are at reduced risk.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.3rhaiis/model-opt-cuda-rhel9:1787601159Fixed 2026-08-25RHSA-2026:59518
Red Hat AI Inference Server 3.4rhaii/vllm-rocm-rhel9:1791856725Fixed 2026-10-14RHSA-2026:83121
Red Hat Enterprise Linux AI 3.3rhelai3/disk-image-cuda-rhel9:1788290314Fixed 2026-09-01RHSA-2026:62335
Red Hat Enterprise Linux AI 3.3rhelai3/bootc-aws-cuda-rhel9:1788273908Fixed 2026-09-01RHSA-2026:62336
Red Hat Enterprise Linux AI 3.3rhelai3/bootc-azure-cuda-rhel9:1788273909Fixed 2026-09-01RHSA-2026:62336
Red Hat Enterprise Linux AI 3.3rhelai3/bootc-cuda-rhel9:1788260684Fixed 2026-09-01RHSA-2026:62336
Red Hat Enterprise Linux AI 3.3rhelai3/bootc-gcp-cuda-rhel9:1788273977Fixed 2026-09-01RHSA-2026:62336
Red Hat Hardened Imagesjaeger-main-2.19.0-1.1.hum1Fixed 2026-07-15RHSA-2026:40236
Red Hat OpenShift AI 2.25rhoai/odh-feature-server-rhel9:1792148523Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 3.3rhoai/odh-llama-stack-core-rhel9:1789121286Fixed 2026-09-30RHSA-2026:73987
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Fix deferred
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-rhel9-operatorFix deferred
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Fix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-rhel8-operatorFix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-rhel9-operatorFix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-rhel9-operatorFix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-sandbox-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9Fix deferred
109 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-59884.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

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

References

Check your stackJSON