Incorrect Conversion between Numeric Types 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.34% (26th 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-17972383
  • published14 Jul 2026
  • disclosed14 Jul 2026
  • creditgvozdila

Introduced: 14 Jul 2026

NewCVE-2026-59886  (opens in a new tab)
CWE-681  (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 Incorrect Conversion between Numeric Types in the prettyPrint process. An attacker can cause excessive CPU and memory consumption by providing specially crafted ASN.1 data with large exponents in encoded REAL values.

CVSS Base Scores

version 4.0
version 3.1