Ubuntu CVE Tracker
UBUNTU-CVE-2026-59884
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | pyasn1 | All versions before 0.1.7-1ubuntu2.1+esm2 (fixed in 0.1.7-1ubuntu2.1+esm2) |
| Ubuntu:Pro:16.04:LTS | pyasn1 | All versions before 0.1.9-1ubuntu0.1~esm2 (fixed in 0.1.9-1ubuntu0.1~esm2) |
| Ubuntu:Pro:18.04:LTS | pyasn1 | All versions before 0.4.2-3ubuntu0.18.04.1~esm2 (fixed in 0.4.2-3ubuntu0.18.04.1~esm2) |
| Ubuntu:Pro:20.04:LTS | pyasn1 | All versions before 0.4.2-3ubuntu0.20.04.1~esm2 (fixed in 0.4.2-3ubuntu0.20.04.1~esm2) |
| Ubuntu:22.04:LTS | pyasn1 | All versions before 0.4.8-1ubuntu0.3 (fixed in 0.4.8-1ubuntu0.3) |
| Ubuntu:24.04:LTS | pyasn1 | All versions before 0.4.8-4ubuntu0.3 (fixed in 0.4.8-4ubuntu0.3) |
| Ubuntu:26.04:LTS | pyasn1 | All versions before 0.6.3-1ubuntu0.1 (fixed in 0.6.3-1ubuntu0.1) |
References
- https://ubuntu.com/security/CVE-2026-59884
- https://www.cve.org/CVERecord?id=CVE-2026-59884
- https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j
- https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4
- https://ubuntu.com/security/notices/USN-8712-1
- https://ubuntu.com/security/notices/USN-9011-1