ALAS2-2026-4104
Active ImportantALAS2-2026-4104 (important): python-pyasn1
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 3 records
Shared by all 3 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2026-4104.html| CVE |
|---|
| CVE-2026-119195 |
| CVE-2026-119196 |
| CVE-2026-119197 |
Description
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
Read full publisher description 2463 characters
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. (CVE-2026-119195) 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. (CVE-2026-119196) 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. (CVE-2026-119197)
Solution
Run yum update python-pyasn1 or yum update --advisory ALAS2-2026-4104 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 2 occurrences-
1python-pyasn1
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- python2-pyasn1-0.1.9-7.amzn2.0.6.noarch
- python2-pyasn1-modules-0.1.9-7.amzn2.0.6.noarch
- python3-pyasn1-0.1.9-7.amzn2.0.6.noarch
- python3-pyasn1-modules-0.1.9-7.amzn2.0.6.noarch
-
2python-pyasn1
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- python-pyasn1-0.1.9-7.amzn2.0.6.src
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
6- CVE-2026-119195 https://access.redhat.com/security/cve/CVE-2026-119195
- CVE-2026-119196 https://access.redhat.com/security/cve/CVE-2026-119196
- CVE-2026-119197 https://access.redhat.com/security/cve/CVE-2026-119197
- CVE-2026-119195 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-119195
- CVE-2026-119196 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-119196
- CVE-2026-119197 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-119197
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2026-4104.html | Unknown | c4d3e18ffb5f8359f860784ec1ae2ae5d26413db8ef07803681775c52d32eae4 | amazon-alas/1 | 2026-11-16T08:26:43Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-4104.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-4104.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |