CVE-2026-59885: pyasn1 is a generic ASN.1 library for Python
Affects pyasn1Source GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 0.4.8-1ubuntu0.3 : patch pyasn1 soon.
Data as of 10 Nov 2026, 06:10 UTC
- Patch
- Available – fixed in 0.4.8-1ubuntu0.3, 0.4.8-4ubuntu0.3, 0.6.3-1ubuntu0.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade the Ubuntu pyasn1 to 0.4.8-1ubuntu0.3 (package) or 0.4.8-4ubuntu0.3 (package) or 0.6.3-1ubuntu0.1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade pyasn1 to version 0.6.4 or later. Ubuntu users should apply security updates that include fixed versions 0.4.8-1ubuntu0.3, 0.4.8-4ubuntu0.3, or 0.6.3-1ubuntu0.1 as referenced in the Ubuntu security notice USN-8712-1. No other mitigation is required as the issue is resolved in these fixed versions.
Description
pyasn1 versions prior to 0.6.4 contain a vulnerability where the BER, CER, and DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values with quadratic time complexity relative to the number of arcs. This can cause excessive CPU consumption when decoding crafted payloads with many arcs, leading to denial of service. The encoders exhibit the same behavior when re-encoding attacker-supplied values. The issue is fixed in version 0.6.4.
References
- ubuntu.com/security/CVE-2026-59885 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-59885 (opens in a new tab)
- github.com/pyasn1/pyasn1/security/advisories/GHSA-8ppf-4f7h-5ppj (opens in a new tab)
- github.com/pyasn1/pyasn1/releases/tag/v0.6.4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8712-1 (opens in a new tab)