CVE Catalog

CVE-2026-59884

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.35%

28th percentile - higher than 28% of all known CVEs

Summary

The pyasn1 library before version 0.6.4 has a vulnerability in the BER decoder that does not limit the tag ID size when parsing long-form tags, allowing crafted input to force construction of an arbitrarily large integer with quadratic CPU cost and trigger unhandled ValueError exceptions in Python 3.11+.

Risk Assessment

An attacker can remotely exhaust system resources by sending crafted ASN.1 data, causing excessive CPU usage or application crashes, leading to denial of service (DoS).

Recommendation

Immediately upgrade pyasn1 to version 0.6.4 or later, which includes a fix that limits the tag size.

Other vulnerabilities in pyasn1

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS