CVE-2026-59885

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-407
Vendor Pyasn1
Public PoC No

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER, CER, and DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs, so a small crafted payload containing an OID with many arcs consumes excessive CPU per decode() call and can deny service to applications that decode untrusted ASN.1 data. The corresponding encoders have the same quadratic behavior when an application re-encodes previously decoded attacker-supplied values.

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