Approved changes feed: RSS · Atom

cpe:2.3:a:pyasn1:pyasn1:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorPyasn1 (6228f16e-abb0-5b77-8a7d-d030d4d74612)
ProductPyasn1 (ae60d41d-b558-5182-a43c-c4b1e0b6d03b)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/pyasn1/pyasn1 purl2cpe 2026-06-01 10:15:27.178248

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-119194 vulnerable 2026-11-03 10:17:11.966861 pyasn1: Quadratic CPU use in schemaless BER/CER/DER container decoding
HIGH (7.5)
pyasn1 is a generic ASN.1 library for Python. From 0.3.3 until 0.6.5, schemaless container decoding stores every decoded component's TagSet in a growing set even though only one-versus-multiple tag types must be distinguished. Attacker-controlled BER, CER, or DER input contains many distinct long tag IDs whose TagSet hashes collide. Each later set insertion compares against an increasing number of earlier colliding tags in ConstructedPayloadDecoderBase._decodeComponentsSchemaless, producing quadratic CPU work while decoded values and order remain valid. Repeated inputs can exhaust decoder CPU and reduce service availability. This issue is fixed in version 0.6.5.
Published: 2026-10-29T19:38:14.056Z
Updated: 2026-11-03T16:23:36.217Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-119195 vulnerable 2026-11-03 10:17:11.946398 pyasn1: Quadratic-time denial of service in constructed string and indefinite-length ANY decoding
HIGH (7.5)
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5, constructed string and indefinite-length ANY decoding repeatedly concatenates each fragment onto a growing bytes value. Attacker-controlled BER or CER data can use many constructed OCTET STRING or character-string fragments. DER rejects constructed OCTET STRING without a schema, but accepts its definite-length form when asn1Spec selects univ.OctetString; it also accepts constructed character strings such as UTF8String without a schema, even though those encodings are not valid DER. The separate indefinite-length ANY path is reachable in BER and CER when asn1Spec selects univ.Any; DER rejects indefinite lengths. OctetStringPayloadDecoder uses growing header concatenation and AnyPayloadDecoder.indefLenValueDecoder uses growing chunk concatenation, repeatedly copying an increasing prefix and causing quadratic work. A sufficiently fragmented value can occupy decoding workers and cause CPU exhaustion without confidentiality or integrity impact. This issue is fixed in version 0.6.5.
Published: 2026-10-29T19:41:37.352Z
Updated: 2026-10-29T20:26:31.801Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-119197 vulnerable 2026-11-03 10:17:11.881138 pyasn1: Quadratic-complexity denial of service in binary REAL decoding
HIGH (7.5)
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5, binary REAL decoding builds a large mantissa one octet at a time by shifting a growing integer and slicing the remaining byte string. Attacker-controlled ASN.1 includes a binary-encoded REAL with a large mantissa and reaches BER, CER, or DER decode(), with or without a schema containing REAL. RealPayloadDecoder.valueDecoder repeatedly performs a left shift, OR, and suffix copy for every mantissa octet, making decode time quadratic in mantissa length. A comparatively small REAL value can hold a decoding worker on one CPU core for seconds or longer and cause availability loss. This issue is fixed in version 0.6.5.
Published: 2026-10-29T19:48:52.470Z
Updated: 2026-10-30T16:08:50.120Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-119196 vulnerable 2026-11-03 10:17:11.750799 pyasn1: Quadratic CPU consumption in constructed BIT STRING decoding
HIGH (7.5)
pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5, constructed BIT STRING decoding repeatedly shifts and copies the complete bit value accumulated from earlier fragments. Attacker-controlled BER or CER input contains many constructed BIT STRING fragments; schema-driven DER also accepts a definite-length constructed BIT STRING. BitStringPayloadDecoder repeatedly calls BitString.fromOctetString with the prior bitString as prepend, shifting an ever-growing SizedInteger for each fragment and causing quadratic work. Large fragmented values can exhaust CPU during decode() without requiring later conversion or formatting. This issue is fixed in version 0.6.5.
Published: 2026-10-29T19:44:46.031Z
Updated: 2026-11-04T01:40:46.787Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-59886 vulnerable 2026-07-29 01:03:18.040763 pyasn1: Uncontrolled resource consumption when converting decoded REAL values
HIGH (7.5)
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.
Published: 2026-07-14T16:38:29.691Z
Updated: 2026-07-15T15:44:02.717Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-59885 vulnerable 2026-07-29 01:03:18.036859 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-30922 vulnerable 2026-06-08 07:57:14.542330 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-23490 vulnerable 2026-06-08 07:51:15.514870 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.