CVE-2026-59886

HIGH CVSS 3.1: 7.5 EPSS 0.44%
Updated Jul 21, 2026
Pyasn1
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions before 0.6.4
Fixed In 0.6.4
Type CWE-400 (Uncontrolled Resource Consumption), CWE-770 (Allocation Without Limits)
Vendor Pyasn1
Public PoC No

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the univ.Real type converted its mantissa, base, and exponent value to a Python float using exact big-integer exponentiation. A BER, CER, or DER encoded REAL value only a few bytes long can carry a very large exponent, causing float conversion through prettyPrint(), str(), comparison, arithmetic, int(), or an explicit float() call to consume excessive CPU and memory and hang applications that decode untrusted ASN.1 data and then print, log, or compare decoded objects.

This issue is fixed in version 0.6.4.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Pyasn1 Pyasn1
cpe:2.3:a:pyasn1:pyasn1:*:*:*:*:*:python:*:*
— 0.6.4