Advisory

USN-8712-1

Also known as: CVE-2026-59884, CVE-2026-59885, CVE-2026-59886

Summary

pyasn1 vulnerabilities

Details

It was discovered that pyasn1 did not properly bound the size of long-form
tag identifiers when parsing BER, CER, or DER encoded data. An attacker
could possibly use this issue to cause applications decoding untrusted
ASN.1 data to consume excessive CPU resources, resulting in a denial of
service. (CVE-2026-59884)

It was discovered that pyasn1 processed OBJECT IDENTIFIER and RELATIVE-OID
values in quadratic time relative to the number of arcs. An attacker could
possibly use this issue to cause applications decoding untrusted ASN.1 data
to consume excessive CPU resources, resulting in a denial of service.
(CVE-2026-59885)

It was discovered that pyasn1 incorrectly handled conversion of decoded
REAL values to Python float types. An attacker could possibly use this
issue to cause applications decoding untrusted ASN.1 data to consume
excessive CPU and memory resources, resulting in a denial of service.
(CVE-2026-59886)

Severity

Not rated by the source.

Dates

Published
2026-09-01 16:20 UTC
Modified
2026-09-02 02:41 UTC

Affected packages and fixes

pyasn1

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.4.8-1ubuntu0.3 (ecosystem)

Fixed versions

0.4.8-1ubuntu0.3

Fix

  • Fixed version 0.4.8-1ubuntu0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pyasn1

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 0.4.8-4ubuntu0.3 (ecosystem)

Fixed versions

0.4.8-4ubuntu0.3

Fix

  • Fixed version 0.4.8-4ubuntu0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pyasn1

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 0.6.3-1ubuntu0.1 (ecosystem)

Fixed versions

0.6.3-1ubuntu0.1

Fix

  • Fixed version 0.6.3-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences