CVE-2026-59885 json
pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service
published 2026-07-14 3 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-43955 , GHSA-8ppf-4f7h-5ppj , PYSEC-2026-3456
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pyasn1 0.6.4
- pyasn1 pyasn1 0.6.4
- pyasn1 Debian 12 0.4.8-3+deb12u3
- pyasn1 Debian 13 0.6.1-1+deb13u3
- pyasn1 Debian 14 0.6.4-1
debian advisories DEBIAN-CVE-2026-59885
- pyasn1 Ubuntu 22.04 LTS 0.4.8-1ubuntu0.3
- pyasn1 Ubuntu 24.04 LTS 0.4.8-4ubuntu0.3
- pyasn1 Ubuntu 26.04 LTS 0.6.3-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2026-59885
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- receptor ansible automation platform inside 2.5, ansible automation platform developer 2.5, ansible automation platform 2.5 1.6.7-1.el8ap
- receptor ansible automation platform inside 2.6, ansible automation platform inside 2.5, ansible automation platform developer 2.6 +3 more 1.6.7-1.el9ap
- receptorctl ansible automation platform inside 2.5, ansible automation platform developer 2.5, ansible automation platform 2.5 1.6.7-1.el8ap
- receptorctl ansible automation platform inside 2.6, ansible automation platform inside 2.5, ansible automation platform developer 2.6 +3 more 1.6.7-1.el9ap
- python3.12-daphne ansible automation platform 2.5 4.2.2-1.el8ap
- python3.12-daphne ansible automation platform 2.6, ansible automation platform 2.5 4.2.2-1.el9ap
- python3.12-pillow ansible automation platform 2.5 12.3.0-1.el8ap
- python3.12-pillow ansible automation platform 2.6, ansible automation platform 2.5 12.3.0-1.el9ap
red hat advisories RHSA-2026:50319RHSA-2026:50336RHSA-2026:40236
- python-pyasn1 Linux Micro 6.1 0.5.0-slfo.1.1_4.1
- python-pyasn1 Linux Micro 6.0 0.5.0-5.1
- python-pyasn1 SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +9 more 0.5.0-150400.12.16.1
- python-pyasn1 SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 0.6.1-160000.5.1
suse advisories SUSE-SU-2026:23167-1SUSE-SU-2026:23006-1SUSE-SU-2026:3238-1SUSE-SU-2026:22765-1SUSE-SU-2026:22830-1
- python-pyasn1 openSUSE Leap 16.0 0.6.1-160000.5.1
- python-pyasn1 openSUSE Tumbleweed 0.6.4-1.1
opensuse advisories openSUSE-SU-2026:21392-1openSUSE-SU-2026:11318-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-59885 updated cvss 7.5
pyasn1: python-pyasn1: pyasn1: Denial of Service via crafted ASN.1 OBJECT IDENTIFIER
-
Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat Lightspeed Core lightspeed-core/lightspeed-stack-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-rhel8-operatoraffected: workaround, no fix available “Fix deferred”
-
Red Hat Migration Toolkit for Virtualization mtv-candidate/mtv-rhel9-operator, migration-toolkit-virtualization/mtv-rhel9-operatoraffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed/lightspeed-agentic-sandbox-rhel9, openshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9affected: workaround, no fix available
-
Red Hat OpenShift Service Mesh 3 openshift-service-mesh/kiali-rhel9-operatoraffected: workaround, no fix available “Fix deferred”
-
Red Hat AI Inference Server rhaii/vllm-tpu-rhel9, rhaiis/vllm-tpu-rhel9, rhaiis/vllm-rocm-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, ansible-automation-platform-26/gateway-rhel9, ansible-automation-platform-27/gateway-rhel9, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, +32 more Red Hat Ceph Storage 7 rhceph/rhceph-7-rhel9 Red Hat Ceph Storage 8 rhceph/rhceph-8-rhel9 Red Hat Ceph Storage 9 rhceph/rhceph-9-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 python-pyasn1 0.6.3-1.el10affected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 python2-pyasn1, resource-agents, resource-agents-gcp, resource-agents-sap, sap-cluster-connector, python2-pyasn1-modules, +4 more Red Hat Enterprise Linux 8 python3-pyasn1, python3-pyasn1-modules, python-pyasn1 0.6.3-1.el10 Red Hat Enterprise Linux 9 python3-pyasn1, python3-pyasn1-modules, rhel9/keylime-verifier, rhel9/keylime-registrar, python-pyasn1 0.6.3-1.el10 Red Hat Enterprise Linux 10 rhel10/keylime-verifier, rhel10/keylime-registrar, python-pyasn1 0.6.3-1.el10affected: workaround, no fix available “Fix deferred”
show 16 moreshow fewer
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-rocm-rhel9, rhelai3/bootc-azure-rocm-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-pipelines-components-rhel9, rhoai/odh-ml-pipelines-runtime-generic-rhel9, rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9 Red Hat OpenShift Container Platform 4 openshift4/ose-ansible-rhel9-operator Red Hat OpenShift Container Platform 5 openshift5/ose-ansible-rhel9-operatoraffected: workaround, no fix available
-
Red Hat OpenStack Platform 16.2 python3-pyasn1, python3-pyasn1-modules, python-pyasn1 0.6.3-1.el10 Red Hat OpenStack Platform 17.1 python-pyasn1 0.6.3-1.el10 Red Hat OpenStack Platform 18.0 rhoso-operators/ee-openstack-ansible-ee-rhel9 Red Hat Satellite 6 python-pyasn1 0.6.3-1.el10, satellite/iop-advisor-engine-rhel9, satellite/iop-advisor-backend-rhel9 Red Hat Trusted Artifact Signer rhtas/segment-reporting-rhel9, rhtas/model-transparency-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat AI Inference Server 3.3 rhaiis/model-opt-cuda-rhel9 1787601159fixed: vendor fix RHSA-2026:59518
-
Red Hat AI Inference Server 3.4 rhaii/vllm-rocm-rhel9 1791856725fixed: vendor fix RHSA-2026:83121
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 python3.12-pyasn1 0.6.4-1.el8ap Red Hat Ansible Automation Platform 2.5 for RHEL 9 python3.12-pyasn1 0.6.4-1.el9apfixed: vendor fix RHSA-2026:50319
-
Red Hat Ansible Automation Platform 2.6 for RHEL 9 python3.12-pyasn1 0.6.4-1.el9apfixed: vendor fix RHSA-2026:50336
-
Red Hat Enterprise Linux AI 3.3 rhelai3/bootc-cuda-rhel9 1788260684, rhelai3/bootc-aws-cuda-rhel9 1788273908, rhelai3/bootc-gcp-cuda-rhel9 1788273977, rhelai3/disk-image-cuda-rhel9 1788290314, rhelai3/bootc-azure-cuda-rhel9 1788273909fixed: vendor fix RHSA-2026:62336
-
Red Hat Hardened Images jaeger 2.19.0-1.1.hum1fixed: vendor fix RHSA-2026:40236
-
Red Hat Migration Toolkit for Applications 8.2 mta/mta-rhel9-operator 1786481481fixed: vendor fix RHSA-2026:56347
-
Red Hat OpenShift AI 2.25 rhoai/odh-feature-server-rhel9 1792148523, rhoai/odh-kserve-storage-initializer-rhel9 1787083682fixed: vendor fix RHSA-2026:87410
-
Red Hat OpenShift AI 3.3 rhoai/odh-mlflow-rhel9 1789653606, rhoai/odh-llama-stack-core-rhel9 1789121286fixed: vendor fix RHSA-2026:73987
-
Red Hat OpenShift AI 3.4 rhoai/odh-mlflow-rhel9 1787226790, rhoai/odh-feature-server-rhel9 1791863220, rhoai/odh-llama-stack-core-rhel9 1786635926, rhoai/odh-th06-cpu-torch210-py312-rhel9 1787076778, rhoai/odh-kserve-storage-initializer-rhel9 1787073479, rhoai/odh-th06-rocm64-torch291-py312-rhel9 1787076481, +17 morefixed: vendor fix RHSA-2026:84734
-
Red Hat OpenStack 1.5 stf/prometheus-webhook-snmp-rhel9 1790006859fixed: vendor fix RHSA-2026:77532
-
Red Hat Quay 3.9 quay/quay-rhel8 1785950004fixed: vendor fix RHSA-2026:50931
-
Red Hat Quay 3.10 quay/quay-rhel8 1786395065fixed: vendor fix RHSA-2026:53520
-
Red Hat Quay 3.12 quay/quay-rhel8 1786170635fixed: vendor fix RHSA-2026:52968
4 more fixed, 24 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pyasn1 | <0.6.4 |
0.6.4 |
Affected products
- pyasn1 pyasn1
Classification
References
-
github.com
/pyasn1/pyasn1/commit/45bdb19eb7df4b3780fe9c912c63e99bffc39dd9
web, patch
-
github.com
/pyasn1/pyasn1/security/advisories/GHSA-8ppf-4f7h-5ppj
web, third-party-advisory, advisory
-
github.com
/pyasn1/pyasn1/releases/tag/v0.6.4
web, release-notes, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-59885
advisory
-
github.com
/pyasn1/pyasn1
package
Sources
- CVE List CVE-2026-59885
- GitHub Advisory GHSA-8ppf-4f7h-5ppj
- NVD CVE-2026-59885
- OSV PYSEC-2026-3456
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.