pyasn1

Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)

0.6.5Latest, 27 Oct 2026
496MDownloads, last month
0Advisories on the latest
14Advisories, all versions
BSD-2-ClauseLicence
54Stars
6.6/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High pyasn1 has quadratic CPU consumption in constructed BIT STRING decoding CVE-2026-119196 Fixed in 0.6.5 30 Oct 2026
High pyasn1 has quadratic-time denial of service in constructed string and indefinite-length ANY decoding CVE-2026-119195 Fixed in 0.6.5 30 Oct 2026
High pyasn1 has quadratic CPU use in schemaless BER/CER/DER container decoding CVE-2026-119194 Fixed in 0.6.5 30 Oct 2026
High pyasn1 has quadratic-complexity denial of service in binary REAL decoding CVE-2026-119197 Fixed in 0.6.5 30 Oct 2026
High pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service CVE-2026-59885 Fixed in 0.6.4 21 Jul 2026
High pyasn1: Uncontrolled resource consumption when converting decoded REAL values CVE-2026-59886 Fixed in 0.6.4 21 Jul 2026
High pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs CVE-2026-59884 Fixed in 0.6.4 21 Jul 2026
PYSEC-2026-3455 CVE-2026-59884 Fixed in 0.6.4 14 Jul 2026
PYSEC-2026-3456 CVE-2026-59885 Fixed in 0.6.4 14 Jul 2026
PYSEC-2026-3457 CVE-2026-59886 Fixed in 0.6.4 14 Jul 2026
pyasn1 has a DoS vulnerability in decoder CVE-2026-23490 Fixed in 0.6.2 7 Jul 2026
PYSEC-2026-2263 CVE-2026-30922 Fixed in 0.6.3 18 Mar 2026
High Denial of Service in pyasn1 via Unbounded Recursion CVE-2026-30922 Fixed in 0.6.3 17 Mar 2026
High pyasn1 has a DoS vulnerability in decoder CVE-2026-23490 Fixed in 0.6.2 16 Jan 2026

In the news

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.