CVE-2026-59884
published high CVSS 3.1 · 7.5pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs
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 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.
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
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
3Provider assertions
2GitHub_M · cna
pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 71a57186030c614f0d61905069224fdea781c182d246df61c05482a252f3f0ff
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record