Home / pyasn1 / pyasn1 / CVE-2026-119197
CVE-2026-119197: is it exploited, and which versions of pyasn1 are affected and fixed?
CVE-2026-119197 is a denial of service through slow algorithm vulnerability in pyasn1. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: pyasn1 before 0.6.5 (GitHub advisory GHSA-mm57-4v3p-rchx). Fixed in 0.6.5 (GitHub advisory GHSA-mm57-4v3p-rchx). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-119197?
pyasn1: Quadratic-complexity denial of service in binary REAL decoding
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.
From the CVE record by GitHub_M, last updated October 30, 2026, 16:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| pyasn1 | pyasn1 | < 0.6.5 |
As the CVE record by GitHub_M states it, last updated October 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | pyasn1 | < 0.6.5 | 0.6.5 | GHSA-mm57-4v3p-rchx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 30, 2026. Summary: pyasn1 has quadratic-complexity denial of service in binary REAL decoding.
How severe is CVE-2026-119197?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-119197 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 30, 2026)
- EPSS
- 0.55% probability of exploitation activity in the next 30 days, percentile 47.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-407 Inefficient Algorithmic Complexity
Where are the vendor advisories and references?
- https://github.com/pyasn1/pyasn1/security/advisories/GHSA-mm57-4v3p-rchx x_refsource_CONFIRM
- https://github.com/pyasn1/pyasn1/pull/132 x_refsource_MISC
- https://github.com/pyasn1/pyasn1/commit/ce3ec3390784780a530047e0e77be5ff457636a4 x_refsource_MISC
- https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 29, 2026
- Published
- October 29, 2026, 19:48 UTC
- CVE record updated
- October 30, 2026, 16:08 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified October 30, 2026, 17:18 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect pyasn1?
- Oct 29, 2026CVE-2026-119196 pyasn1: denial of service through slow algorithm
- Oct 29, 2026CVE-2026-119195 pyasn1: denial of service through slow algorithm
- Oct 29, 2026CVE-2026-119194 pyasn1: denial of service through slow algorithm
- Jul 14, 2026CVE-2026-59884 pyasn1: denial of service (uncontrolled resource consumption)
- Jul 14, 2026CVE-2026-59885 pyasn1: denial of service (uncontrolled resource consumption)
- Jul 14, 2026CVE-2026-59886 pyasn1: denial of service (uncontrolled resource consumption)
- Mar 18, 2026CVE-2026-30922 pyasn1: uncontrolled recursion
- Jan 16, 2026CVE-2026-23490 pyasn1: denial of service (resources allocated without limits)
Questions about CVE-2026-119197
Is CVE-2026-119197 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.55% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of pyasn1 are affected by CVE-2026-119197?
pyasn1 before 0.6.5, per the GitHub advisory GHSA-mm57-4v3p-rchx. The tables above give every range the sources list.
Which version fixes CVE-2026-119197?
0.6.5, per the GitHub advisory GHSA-mm57-4v3p-rchx. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-119197?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-119197?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.