UBUNTU-CVE-2026-59884: High severity ubuntu/pyasn1 vulnerability

Published Jul 14, 2026
·
Updated

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 Software

7 affected componentsFixes available
ubuntu/pyasn1*
ubuntu/pyasn1*
ubuntu/pyasn1*
ubuntu/pyasn1*
ubuntu/pyasn1<0.4.8-1ubuntu0.3
0.4.8-1ubuntu0.3
ubuntu/pyasn1<0.4.8-4ubuntu0.3
0.4.8-4ubuntu0.3
ubuntu/pyasn1<0.6.3-1ubuntu0.1
0.6.3-1ubuntu0.1

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.4.8-1ubuntu0.3
  2. Upgrade

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

    Fixed in 0.4.8-4ubuntu0.3
  3. Upgrade

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

    Fixed in 0.6.3-1ubuntu0.1
  4. Upgrade

    Upgrade pyasn1 to a version that resolves this vulnerability.

    Fixed in 0.6.4

Event History

Jul 14, 2026
CVE Published
via OSV·05:17 PM
Data Sourced
via OSV·05:17 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Does exploitation require authentication or user interaction?

No. The vulnerability is rated network-accessible with low attack complexity, no privileges required, and no user interaction required.

2

How can I determine whether an installation is affected?

Installations using pyasn1 versions earlier than 0.6.4 are affected if their application decodes untrusted BER, CER, or DER input.

3

What is the practical impact of a malicious payload?

A crafted long-form tag can cause quadratic CPU consumption while constructing an arbitrarily large tag ID integer, resulting in denial of service. On Python 3.11 and later, related error-formatting paths can also raise unhandled ValueError exceptions.

4

What should be done to remediate the issue?

Upgrade pyasn1 to version 0.6.4, which includes the fix.

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