USN-9011-1: pyasn1 vulnerabilities

Published Nov 9, 2026
·
Updated

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. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (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. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (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. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2026-59886)

It was discovered that pyasn1 incorrectly handled tracking component types when decoding containers without a schema. 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. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS, and Ubuntu 26.10. (CVE-2026-119194)

It was discovered that pyasn1 processed fragmented constructed strings and indefinite-length ANY values in quadratic time. 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. This issue was only addressed in Ubuntu 26.04 LTS and Ubuntu 26.10. (CVE-2026-119195)

It was discovered that pyasn1 processed fragmented constructed BIT STRING values in quadratic time. 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-119196)

It was discovered that pyasn1 processed binary-encoded REAL values with large mantissas in quadratic time. 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-119197)

Affected Software

8 affected componentsFixes available
ubuntu/pyasn1<0.1.7-1ubuntu2.1+esm2
0.1.7-1ubuntu2.1+esm2
ubuntu/pyasn1<0.1.9-1ubuntu0.1~esm2
0.1.9-1ubuntu0.1~esm2
ubuntu/pyasn1<0.4.2-3ubuntu0.18.04.1~esm2
0.4.2-3ubuntu0.18.04.1~esm2
ubuntu/pyasn1<0.4.2-3ubuntu0.20.04.1~esm2
0.4.2-3ubuntu0.20.04.1~esm2
ubuntu/pyasn1<0.4.8-1ubuntu0.4
0.4.8-1ubuntu0.4
ubuntu/pyasn1<0.4.8-4ubuntu0.4
0.4.8-4ubuntu0.4
ubuntu/pyasn1<0.6.4-1ubuntu0.1
0.6.4-1ubuntu0.1
ubuntu/pyasn1<0.6.3-1ubuntu0.2
0.6.3-1ubuntu0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.1.7-1ubuntu2.1+esm2
  2. Upgrade

    Upgrade ubuntu/pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.1.9-1ubuntu0.1~esm2
  3. Upgrade

    Upgrade ubuntu/pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.4.2-3ubuntu0.18.04.1~esm2
  4. Upgrade

    Upgrade ubuntu/pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.4.2-3ubuntu0.20.04.1~esm2
  5. Upgrade

    Upgrade ubuntu/pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.4.8-1ubuntu0.4
  6. Upgrade

    Upgrade ubuntu/pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.4.8-4ubuntu0.4
  7. Upgrade

    Upgrade ubuntu/pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.6.4-1ubuntu0.1
  8. Upgrade

    Upgrade ubuntu/pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.6.3-1ubuntu0.2

Event History

Nov 9, 2026
Advisory Published
via OSV·04:15 PM
Data Sourced
via OSV·04:15 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which systems are affected?

The issues affect pyasn1 on Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. Other Ubuntu releases are not identified as affected in the provided advisory data.

2

What must an attacker be able to do to trigger these issues?

An attacker needs to cause an application to decode untrusted ASN.1 data. The affected parsing paths include BER, CER, and DER encoded data, as well as OBJECT IDENTIFIER, RELATIVE-OID, and REAL values.

3

What is the practical impact?

Specially crafted input can cause excessive CPU consumption, and the REAL-value conversion issue can also consume excessive memory. The stated impact is denial of service against applications that decode the attacker-controlled data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203