Resource Exhaustion Affecting pyasn1 package, versions <0.6.3-1ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.62% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-PYASN1-17986597
  • published2 Sept 2026
  • disclosed14 Jul 2026

Introduced: 14 Jul 2026

CVE-2026-59884  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 pyasn1 to version 0.6.3-1ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pyasn1 package and not the pyasn1 package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1