Excessive Iteration Affecting pyasn1 package, versions [,0.6.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (28th 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-PYTHON-PYASN1-17972379
  • published14 Jul 2026
  • disclosed14 Jul 2026
  • creditmikeappsec

Introduced: 14 Jul 2026

NewCVE-2026-59884  (opens in a new tab)
CWE-834  (opens in a new tab)

How to fix?

Upgrade pyasn1 to version 0.6.4 or higher.

Overview

Affected versions of this package are vulnerable to Excessive Iteration via the BER decoder, which is also used by the CER and DER codecs, when parsing long-form tag IDs without an upper bound. An attacker can exhaust system resources and potentially trigger unhandled exceptions by submitting specially crafted ASN.1 input with excessively large tag IDs.

CVSS Base Scores

version 4.0
version 3.1