cve.bz

CVE-2026-59885 pyasn1 pyasn1: Uncontrolled Resource Consumption

7.5 highEPSS 0.4%Fix available

High (7.5) in pyasn1 pyasn1. EPSS 0.4% 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, CER, and DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs, so a small crafted payload containing an OID with many arcs consumes excessive CPU per decode() call and can deny service to applications that decode untrusted ASN.1 data. The corresponding encoders have the same quadratic behavior when an application re-encodes previously decoded attacker-supplied values. 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.4% (down from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th 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-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-407 Inefficient Algorithmic Complexity
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-59885 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59885?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59885?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-59885 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-8ppf-4f7h-5ppjPyPIpyasn1<0.6.40.6.4
PYSEC-2026-3456PyPIpyasn1<0.6.40.6.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pyasn10.4.8-3+deb12u3DEBIAN-CVE-2026-59885 DLA-4778-1
Debian13pyasn10.6.1-1+deb13u3DEBIAN-CVE-2026-59885
Debian14pyasn10.6.4-1DEBIAN-CVE-2026-59885
Ubuntu22.04:LTSpyasn10.4.8-1ubuntu0.3UBUNTU-CVE-2026-59885 USN-8712-1 USN-9011-1
Ubuntu24.04:LTSpyasn10.4.8-4ubuntu0.3UBUNTU-CVE-2026-59885 USN-8712-1 USN-9011-1
Ubuntu26.04:LTSpyasn10.6.3-1ubuntu0.1UBUNTU-CVE-2026-59885 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-59885 USN-9011-1
UbuntuPro:16.04:LTSpyasn10.1.9-1ubuntu0.1~esm2UBUNTU-CVE-2026-59885 USN-9011-1
UbuntuPro:18.04:LTSpyasn10.4.2-3ubuntu0.18.04.1~esm2UBUNTU-CVE-2026-59885 USN-9011-1
UbuntuPro:20.04:LTSpyasn10.4.2-3ubuntu0.20.04.1~esm2UBUNTU-CVE-2026-59885 USN-9011-1
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.31-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8automation-eda-controller, automation-eda-controller-base, automation-eda-controller-base-services and 2 more0:1.1.21-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.5.10-7.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8python3.12-aiohttp0:3.14.1-2.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8python3.12-daphne0:4.2.2-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8python3.12-pillow0:12.3.0-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8python3.12-pyasn10:0.6.4-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el8receptor, receptorctl, receptor-debuginfo and 1 more0:1.6.7-1.el8apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.31-1.el9apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el9automation-eda-controller, automation-eda-controller-base, automation-eda-controller-base-services and 2 more0:1.1.21-1.el9apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el9automation-gateway-proxy, automation-gateway-proxy-server, automation-gateway-proxy-debugsource and 1 more0:2.6.17-2.el9apRHSA-2026:50319
Red Hatansible_automation_platform:2.5::el9python3.12-aiohttp0:3.14.1-2.el9apRHSA-2026:50319
18 more for Red Hat in the JSON and on Red Hat's page.
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-92430
Alpaquita23py3-asn10.4.8-r6BELL-CVE-2026-59885
Alpaquita25, streampy3-asn10.6.4-r0BELL-CVE-2026-59885

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 Important.

Red Hat's statement

A flaw was found in pyasn1. The BER, CER, and DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs. A small crafted payload containing an OID with many arcs consumes excessive CPU per decode() call, allowing denial of service in applications that decode untrusted ASN.1 data (certificates, LDAP, SNMP, Kerberos). The corresponding encoders exhibit the same behavior when re-encoding attacker-supplied values. The arc-size limit introduced for CVE-2026-23490 does not mitigate this issue. This issue is fixed in pyasn1 version 0.6.4.

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 input are at reduced risk.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.12-pyasn1-0:0.6.4-1.el8apFixed 2026-08-04RHSA-2026:50319
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.12-pyasn1-0:0.6.4-1.el9apFixed 2026-08-04RHSA-2026:50319
Red Hat Ansible Automation Platform 2.6 for RHEL 9python3.12-pyasn1-0:0.6.4-1.el9apFixed 2026-08-04RHSA-2026:50336
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
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Fix deferred
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-rhel8-operatorFix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-rhel9-operatorAffected
Migration Toolkit for Virtualizationmtv-candidate/mtv-rhel9-operatorWill not fix
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-sandbox-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9Affected
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorFix deferred
119 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-59885.

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