Live threats

All CVEs / Pyasn1

CVE-2026-59884Pyasn1

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jul 14, 2026
Updated
Jul 21, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pyasn1.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pyasn1 < 0.6.4 0.6.4 pip install "pyasn1>=0.6.4"
PyPI pyasn1 < 0.6.4 0.6.4 pip install "pyasn1>=0.6.4"

Per OSV / GitHub Advisories (GHSA-m4p7-r5rc-7g4j, PYSEC-2026-3455). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pyasn1pyasn1< 0.6.4

Official advisories

Also: SUSE (+4)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.