CVEfocus › CVE database › CVE-2026-59885

CVE-2026-59885pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows…

CVSS 7.5 HighEPSS 0.6% (higher than 44% of CVEs)Published 2026-07-14Updated 2026-07-14Assigner: GitHub_M

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.

CWE-400CWE-407

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
23Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04pyasn1Fixed0.6.3-1ubuntu0.1UBUNTU-CVE-2026-59885
Ubuntu 24.04pyasn1Fixed0.4.8-4ubuntu0.3UBUNTU-CVE-2026-59885
Ubuntu 22.04pyasn1Fixed0.4.8-1ubuntu0.3UBUNTU-CVE-2026-59885
Ubuntu 20.04pyasn1Fix pending0.4.2-3ubuntu0.20.04.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-59885
Ubuntu 18.04pyasn1Fix pending0.4.2-3ubuntu0.18.04.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-59885
Ubuntu 16.04pyasn1Fix pending0.1.9-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-59885
Ubuntu 14.04pyasn1Fix pending0.1.7-1ubuntu2.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-59885
Debian 14pyasn1Fixed0.6.4-1DEBIAN-CVE-2026-59885
Debian 13pyasn1Fixed0.6.1-1+deb13u3DEBIAN-CVE-2026-59885
Debian 12pyasn1Fixed0.4.8-3+deb12u3DEBIAN-CVE-2026-59885
Red Hat Enterprise Linux 10python-pyasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 10python3-pyasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 10python3-pyasn1-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9python-pyasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 9python3-pyasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 9python3-pyasn1-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 8python-pyasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 8python3-pyasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 8python3-pyasn1-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 7python-pyasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 7python2-pyasn1Fix pending
Fix deferred
Red Hat Enterprise Linux 7python2-pyasn1-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 7resource-agentsFix pending
Fix deferred
Red Hat Enterprise Linux 7resource-agents-aliyunFix pending
Fix deferred
Red Hat Enterprise Linux 7resource-agents-gcpFix pending
Fix deferred
Red Hat Enterprise Linux 7resource-agents-sapFix pending
Fix deferred
Red Hat Enterprise Linux 7resource-agents-sap-hanaFix pending
Fix deferred
Red Hat Enterprise Linux 7resource-agents-sap-hana-scaleoutFix pending
Fix deferred
Red Hat Enterprise Linux 7sap-cluster-connectorFix pending
Fix deferred
Red Hat Enterprise Linux 6python-pyasn1Will not fix
Out of support scope
PyPI librarypyasn1Fixed0.6.4PYSEC-2026-3456

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.