Skip to main content
VulnerabilityPublished Updated

CVE-2026-59885: pyasn1 is a generic ASN.1 library for Python

Affects pyasn1Source GCVE Database

0
Compare

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

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=resoluteOther threatsAffected
  • <0.6.3-1ubuntu0.1
Fixed in
  • 0.6.3-1ubuntu0.1
Ubuntu 24.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=nobleOther threatsAffected
  • <0.4.8-4ubuntu0.3
Fixed in
  • 0.4.8-4ubuntu0.3
Ubuntu 22.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=jammyOther threatsAffected
  • <0.4.8-1ubuntu0.3
Fixed in
  • 0.4.8-1ubuntu0.3
Ubuntu Pro 20.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=esm-infra/focalOther threatsAffected
  • 0.4.2-3 – 0.4.2-3ubuntu0.20.04.1~esm2
4 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 0.1.9-2 – 0.4.2-3ubuntu0.18.04.1~esm2
4 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSpyasn1pkg:deb/ubuntu/pyasn1?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • 0.1.8-2 – 0.1.9-1ubuntu0.1~esm2
4 affected builds
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

Community reviews

Loading reviews…