CVE-2026-59885
published high CVSS 3.1 · 7.5pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pyasn1 | — | pyasn1< 0.6.4 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3836 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2000 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | pyasn1 | Advisory build | 0.4.8-3+deb12u3 | DLA-4778-1 |
| Ubuntu | bionic | pyasn1 | Advisory build | 0.4.2-3ubuntu0.18.04.1~esm2 | USN-9011-1 |
| Alpine Linux | edge | py3-asn1 | Fixed | 0.6.4-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP4 | python311-pyasn1noarch | Advisory build | 0.5.0-150400.12.16.1 | SUSE-SU-2026:3238-1 |
| Amazon Linux | AL2 | python-pyasn1noarch | Listed in advisory | Not stated | ALAS2-2026-3836 |
Show 38 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | pyasn1 | Advisory build | 0.4.2-3ubuntu0.20.04.1~esm2 | USN-9011-1 |
| Ubuntu | jammy | pyasn1 | Advisory build | 0.4.8-1ubuntu0.3 | USN-8712-1 |
| Ubuntu | noble | pyasn1 | Advisory build | 0.4.8-4ubuntu0.3 | USN-8712-1 |
| Ubuntu | resolute | pyasn1 | Advisory build | 0.6.3-1ubuntu0.1 | USN-8712-1 |
| Ubuntu | trusty | pyasn1 | Advisory build | 0.1.7-1ubuntu2.1+esm2 | USN-9011-1 |
| Ubuntu | xenial | pyasn1 | Advisory build | 0.1.9-1ubuntu0.1~esm2 | USN-9011-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-pyasn1noarch | Advisory build | 0.5.0-150400.12.16.1 | SUSE-SU-2026:3238-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-pyasn1noarch | Advisory build | 0.5.0-150400.12.16.1 | SUSE-SU-2026:3238-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-pyasn1noarch | Advisory build | 0.5.0-150400.12.16.1 | SUSE-SU-2026:3238-1 |
| SUSE / openSUSE | SLE-16 | python313-pyasn1noarch | Advisory build | 0.6.1-160000.5.1 | SUSE-SU-2026:22830-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-pyasn1noarch | Advisory build | 0.5.0-150400.12.16.1 | SUSE-SU-2026:3238-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-pyasn1noarch | Advisory build | 0.6.1-160000.5.1 | OPENSUSE-SU-2026:21392-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pyasn1aarch64 | Advisory build | 0.6.4-1.1 | OPENSUSE-SU-2026:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pyasn1ppc64le | Advisory build | 0.6.4-1.1 | OPENSUSE-SU-2026:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pyasn1s390x | Advisory build | 0.6.4-1.1 | OPENSUSE-SU-2026:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pyasn1x86_64 | Advisory build | 0.6.4-1.1 | OPENSUSE-SU-2026:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pyasn1aarch64 | Advisory build | 0.6.4-1.1 | OPENSUSE-SU-2026:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pyasn1ppc64le | Advisory build | 0.6.4-1.1 | OPENSUSE-SU-2026:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pyasn1s390x | Advisory build | 0.6.4-1.1 | OPENSUSE-SU-2026:11318-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pyasn1x86_64 | Advisory build | 0.6.4-1.1 | OPENSUSE-SU-2026:11318-1 |
| Ubuntu | bionic | pypy-pyasn1 | Advisory build | 0.4.2-3ubuntu0.18.04.1~esm2 | USN-9011-1 |
| Ubuntu | bionic | python-pyasn1 | Advisory build | 0.4.2-3ubuntu0.18.04.1~esm2 | USN-9011-1 |
| Ubuntu | bionic | python3-pyasn1 | Advisory build | 0.4.2-3ubuntu0.18.04.1~esm2 | USN-9011-1 |
| Ubuntu | focal | pypy-pyasn1 | Advisory build | 0.4.2-3ubuntu0.20.04.1~esm2 | USN-9011-1 |
| Ubuntu | focal | python-pyasn1 | Advisory build | 0.4.2-3ubuntu0.20.04.1~esm2 | USN-9011-1 |
| Ubuntu | focal | python3-pyasn1 | Advisory build | 0.4.2-3ubuntu0.20.04.1~esm2 | USN-9011-1 |
| Ubuntu | jammy | pypy-pyasn1 | Advisory build | 0.4.8-1ubuntu0.3 | USN-8712-1 |
| Ubuntu | jammy | python3-pyasn1 | Advisory build | 0.4.8-1ubuntu0.3 | USN-8712-1 |
| Ubuntu | noble | python3-pyasn1 | Advisory build | 0.4.8-4ubuntu0.3 | USN-8712-1 |
| Ubuntu | resolute | python3-pyasn1 | Advisory build | 0.6.3-1ubuntu0.1 | USN-8712-1 |
| Ubuntu | trusty | python-pyasn1 | Advisory build | 0.1.7-1ubuntu2.1+esm2 | USN-9011-1 |
| Ubuntu | trusty | python3-pyasn1 | Advisory build | 0.1.7-1ubuntu2.1+esm2 | USN-9011-1 |
| Ubuntu | xenial | pypy-pyasn1 | Advisory build | 0.1.9-1ubuntu0.1~esm2 | USN-9011-1 |
| Ubuntu | xenial | python-pyasn1 | Advisory build | 0.1.9-1ubuntu0.1~esm2 | USN-9011-1 |
| Ubuntu | xenial | python3-pyasn1 | Advisory build | 0.1.9-1ubuntu0.1~esm2 | USN-9011-1 |
| Amazon Linux | AL2 | python-pyasn1src | Listed in advisory | Not stated | ALAS2-2026-3836 |
| Amazon Linux | AL2023 | python-pyasn1noarch | Listed in advisory | Not stated | ALAS2023-2026-2000 |
| Amazon Linux | AL2023 | python-pyasn1src | Listed in advisory | Not stated | ALAS2023-2026-2000 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pyasn1 | pyasn1 | < 0.6.4 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
3Provider assertions
2GitHub_M · cna
pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eee735019d237e2dc330dcb72d1d49e455647cbec17d530dfa62bdda08de3353
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record