CVE-2026-59885

Publication date 14 July 2026

Last updated 11 November 2026


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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.

Status

Package Ubuntu Release Status
pyasn1 26.10 stonking
Not affected
26.04 LTS resolute
Fixed in 0.6.3-1ubuntu0.1
24.04 LTS noble
Fixed in 0.4.8-4ubuntu0.3
22.04 LTS jammy
Fixed in 0.4.8-1ubuntu0.3
20.04 LTS focal
Fixed in 0.4.2-3ubuntu0.20.04.1~esm2
18.04 LTS bionic
Fixed in 0.4.2-3ubuntu0.18.04.1~esm2
16.04 LTS xenial
Fixed in 0.1.9-1ubuntu0.1~esm2
14.04 LTS trusty
Fixed in 0.1.7-1ubuntu2.1+esm2

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
pyasn1

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-8712-1
    • pyasn1 vulnerabilities
    • 1 September 2026
    • USN-9011-1
    • pyasn1 vulnerabilities
    • 9 November 2026

Other references


Access our resources on patching vulnerabilities