---
title: "Python CPython vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/python/cpython
type: product
description: "Python CPython has 207 published CVEs, 0 in CISA KEV and 71 with public exploits."
updated: 2026-11-23
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Python CPython vulnerabilities

Vendor: [Python](https://radicalnotion.ai/vendor/python)

- **Published CVEs:** 207
- **In CISA KEV:** 0
- **With a public exploit:** 71
- **With a patch:** 207
- **Average CVSS:** 6.5
- **First CVE:** 2007-08-28
- **Latest CVE:** 2026-11-23
- **Platforms:** linux, macos, posix, windows

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 24 |
| High | 68 |
| Medium | 96 |
| Low | 17 |
| Unscored | 2 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 15 |
| [CWE-190](https://radicalnotion.ai/cwe/cwe-190) | Integer Overflow or Wraparound | 14 |
| [CWE-400](https://radicalnotion.ai/cwe/cwe-400) | Uncontrolled Resource Consumption | 14 |
| [CWE-20](https://radicalnotion.ai/cwe/cwe-20) | Improper Input Validation | 13 |
| [CWE-74](https://radicalnotion.ai/cwe/cwe-74) | Improper Neutralization of Special Elements in Output Used by a Downstream Component | 7 |
| [CWE-416](https://radicalnotion.ai/cwe/cwe-416) | Use After Free | 7 |
| [CWE-93](https://radicalnotion.ai/cwe/cwe-93) | Improper Neutralization of CRLF Sequences | 7 |
| [CWE-120](https://radicalnotion.ai/cwe/cwe-120) | Buffer Copy without Checking Size of Input | 5 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2015 | 1 |
| 2016 | 8 |
| 2017 | 8 |
| 2018 | 9 |
| 2019 | 17 |
| 2020 | 10 |
| 2021 | 4 |
| 2022 | 14 |
| 2023 | 13 |
| 2024 | 14 |
| 2025 | 17 |
| 2026 | 55 |

## Affected versions (top 24 of 847)

| Version | Kind | CVEs |
| --- | --- | --- |
| 2.0 | exact | 194 |
| 2.1 | exact | 194 |
| 2.1a1 | exact | 194 |
| 2.1a2 | exact | 194 |
| 2.1b1 | exact | 194 |
| 2.1b2 | exact | 194 |
| 2.1c1 | exact | 194 |
| 2.1c2 | exact | 194 |
| 2.2a3 | exact | 194 |
| 2.3c1 | exact | 194 |
| 2.3c2 | exact | 194 |
| 2.4 | exact | 194 |
| 3.12.0 \<= v \< 3.12.14 | range | 23 |
| 3.11.0 \<= v \< 3.11.16 | range | 21 |
| \< 3.10.21 | range | 20 |
| 3.13.0 \<= v \< 3.13.14 | range | 10 |
| 3.11.0 \<= v \< 3.11.15 | range | 9 |
| 3.12.0 \<= v \< 3.12.13 | range | 9 |
| 3.14.0 \<= v \< 3.14.7 | range | 9 |
| \< 3.10.20 | range | 8 |
| \< 3.10.22 | range | 8 |
| \< 3.8.20 | range | 8 |
| 3.13.0 \<= v \< 3.13.15 | range | 8 |
| 3.9.0 \<= v \< 3.9.20 | range | 8 |

## Fixed in (top 12 of 101)

| Version | CVEs |
| --- | --- |
| 3.11.16 | 23 |
| 3.12.14 | 23 |
| 3.10.21 | 20 |
| 3.13.14 | 11 |
| 3.16.0 | 11 |
| 3.10.20 | 9 |
| 3.11.15 | 9 |
| 3.12.13 | 9 |
| 3.13.15 | 9 |
| 3.14.7 | 9 |
| 3.10.22 | 8 |
| 3.12.15 | 8 |

## CVEs (first 30 of 207, most severe first)

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-107784 | tarfile extraction filters accept drive-relative paths on Windows | medium | 6.3 | No | No | Yes |
| CVE-2026-16052 | Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel | low | 2.3 | No | No | Yes |
| CVE-2026-115559 | imaplib STARTTLS serves plaintext bytes buffered before the handshake as if they came over TLS | medium | 6.3 | No | No | Yes |
| CVE-2026-115791 | Prevent shadowing stdlib in gzip/tarfile/zipfile CLI during extraction | medium | 5.3 | No | No | Yes |
| CVE-2026-124249 | \`http.cookiejar\` applies expired \`Set-Cookie\` to cookie store before policy validation | medium | 6.3 | No | No | Yes |
| CVE-2026-19552 | ssl.get\_server\_certificate(addr, ca\_certs=...) verifies the chain but never the identity | none | 0.0 | No | No | Yes |
| CVE-2026-119170 | Regression in FIPS enforcement of hash algorithms affecting only Python 3.14.10 | high | 8.2 | No | No | Yes |
| CVE-2026-116566 | socket.getaddrinfo() accepts embedded null bytes in host and port | medium | 5.3 | No | No | Yes |
| CVE-2026-103995 | Lenient parsing of integers for response body and chunk framing | low | 2.0 | No | No | Yes |
| CVE-2026-115557 | Distrust compromised intermediate certificates in ssl module | critical | 9.4 | No | No | Yes |
| CVE-2026-114583 | tar filter allows writing outside destination via empty-named symlink | medium | 6.9 | No | No | Yes |
| CVE-2026-19553 | SSLContext.wrap\_bio() missing validation of server\_hostname parameter | high | 7.6 | No | No | Yes |
| CVE-2026-19445 | Use-after-free of a server-side SSLContext when sni\_callback switches contexts | critical | 9.2 | No | No | Yes |
| CVE-2026-12345 | Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory | medium | 5.9 | No | No | Yes |
| CVE-2026-82049 | tarfile extraction filters allow file modification and content disclosure via hard link to symlink | high | 8.4 | No | No | Yes |
| CVE-2026-87910 | tarfile hardlink fallback ignores custom extraction filter rejection via None | medium | 5.7 | No | No | Yes |
| CVE-2026-15310 | zipfile: bzip2/LZMA/Zstandard members decompress without a max\_length bound, defeating chunked-read memory limits | low | 2.1 | No | No | Yes |
| CVE-2026-19672 | tarfile extraction filter bypass allows creation of directories outside the destination | medium | 6.3 | No | No | Yes |
| CVE-2026-15806 | \`HTTPPasswordMgr\` can send saved HTTPS credentials via HTTP because of incorrect scheme matching | medium | 6.0 | No | Yes | Yes |
| CVE-2026-17084 | stringprep.map\_table\_b2() deviates from RFC 3454 Table B.2 | medium | 6.0 | No | No | Yes |
| CVE-2026-18503 | Super-linear CPU usage for unbounded input to csv.Sniffer.sniff() | low | 2.4 | No | No | Yes |
| CVE-2026-6879 | Quadratic Behavior in xml.etree.ElementPath Index Predicates | low | 2.0 | No | No | Yes |
| CVE-2026-15308 | Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations | high | 8.7 | No | No | Yes |
| CVE-2026-4360 | Tarfile.extract() doesn't fully respect filter parameter | low | 2.0 | No | No | Yes |
| CVE-2026-11972 | tarfile opened in streaming mode mishandles EOF | high | 8.2 | No | No | Yes |
| CVE-2026-0864 | Configuration Injection via Carriage Return (\\r) in write() method | medium | 4.1 | No | No | Yes |
| CVE-2026-11940 | tarfile extraction filter bypass allows escaping the destination directory | high | 7.8 | No | No | Yes |
| CVE-2026-12003 | CPython \>3.11 Insecure Input Validation resulting in privilege escalation | medium | 5.3 | No | No | Yes |
| CVE-2026-9669 | bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow | high | 8.2 | No | No | Yes |
| CVE-2026-7774 | tarfile.data\_filter path traversal bypass allows writing outside the extraction directory | medium | 6.9 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Python CPython have?

Python CPython has 207 published CVE records since 2007.

### How many Python CPython CVEs are in CISA KEV?

None of Python CPython's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Python CPython vulnerabilities?

Yes — 71 of Python CPython's CVEs have a known public exploit.

### Which versions of Python CPython are affected?

948 distinct Python CPython versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Python CPython CVEs?

Python CPython's CVEs most often map to these CWE weakness types: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-190 (Integer Overflow or Wraparound), CWE-400 (Uncontrolled Resource Consumption), CWE-20 (Improper Input Validation).

### How many critical Python CPython vulnerabilities are there?

Python CPython has 24 critical and 68 high-severity CVEs.

### What is the average severity of Python CPython CVEs?

The average CVSS base score across Python CPython's scored CVEs is 6.5.

## Other products from this vendor

- [Python](https://radicalnotion.ai/vendor/python/python) (150 CVEs)
- [Pillow](https://radicalnotion.ai/vendor/python/pillow) (113 CVEs)
- [urllib3](https://radicalnotion.ai/vendor/python/urllib3) (22 CVEs)
- [requests](https://radicalnotion.ai/vendor/python/requests) (7 CVEs)
- [setuptools](https://radicalnotion.ai/vendor/python/setuptools) (5 CVEs)
- [black](https://radicalnotion.ai/vendor/python/black) (3 CVEs)
- [keyring](https://radicalnotion.ai/vendor/python/keyring) (3 CVEs)
- [tarfile module](https://radicalnotion.ai/vendor/python/tarfile-module) (3 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/python/cpython). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
