Python 3.7.5 vulnerabilities
122 published vulnerabilities affect Python 3.7.5. The 3.7 line no longer gets security fixes.
What to upgrade to
The newest release on the 3.7 line is 3.7.17, with 90 known CVEs. The newest Python release we know of is 3.15.2, with 9 known CVEs.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 3.7.17newest 3.7 release | 32 of 1226 critical | 90CVE-2007-4559, CVE-2026-115557, CVE-2025-4517 and 87 more | none |
| 3.15.2newest release | 113 of 12210 critical | 9CVE-2026-107784, CVE-2026-115559, CVE-2026-124249 and 6 more | none |
"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.
CVEs affecting Python 3.7.5
Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications… | 9.8 | Proof of concept | 24% | –NVD |
| CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remote attackers to… | 9.8 | Proof of concept | 27% | 3.8.17NVD |
| CVE-2022-48565An XML External Entity (XXE) issue was discovered in Python through 3.9.1 | 9.8 | Proof of concept | 5% | 3.7.10NVD |
| CVE-2022-37454The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary… | 9.8 | Proof of concept | 7% | 3.7.16NVD |
| CVE-2020-27619Informational: Impact of Python Test Suite Vulnerability CVE-2020-27619 | 9.8 | None known | 8% | 3.7.10NVD |
| CVE-2020-15801In Python 3.8.4, sys.path restrictions specified in a python38._pth file are ignored, allowing code to be loaded from arbitrary locations | 9.8 | None known | 4% | 3.7.9NVD |
| CVE-2019-12900BZ2_decompress in decompress.c in bzip2 through 1.0.6 has an out-of-bounds write when there are many selectors | 9.8 | None known | 8% | 3.7.13NVD |
| CVE-2026-115557Distrust compromised intermediate certificates in ssl module | 9.4 | None known | under 1% | 3.11.18CVE record |
| CVE-2025-4517Arbitrary writes via tarfile realpath overflow | 9.4 | None known | 1% | 3.9.23CVE record |
| CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts | 9.2 | None known | under 1% | 3.10.22CVE record |
| CVE-2026-3298Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes | 8.8 | None known | under 1% | 3.11.16CVE record |
| CVE-2024-8088Infinite loop when iterating over zip archive entry names from zipfile.Path | 8.7 | None known | 1% | 3.8.20CVE record |
| CVE-2018-25032zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches | 7.5 | Proof of concept | 52% | 3.7.14NVD |
| CVE-2026-82049tarfile extraction filters allow file modification and content disclosure via hard link to symlink | 8.4 | None known | under 1% | 3.10.22CVE record |
| CVE-2026-11972tarfile opened in streaming mode mishandles EOF | 8.2 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-9669bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow | 8.2 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-6100Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure | 8.1 | None known | under 1% | 3.10.21CVE record |
| CVE-2024-7592Quadratic complexity parsing cookies with backslashes | 7.5 | Proof of concept | 2% | 3.8.20CVE record |
| CVE-2023-36632The legacy email.utils.parseaddr function in Python through 3.11.4 allows attackers to trigger "RecursionError: maximum recursion depth exceeded while calling… | 7.5 | Proof of concept | 2% | –NVD |
| CVE-2022-45061An issue was discovered in Python before 3.11.1 | 7.5 | Proof of concept | 3% | –NVD |
| CVE-2026-11940tarfile extraction filter bypass allows escaping the destination directory | 7.8 | None known | under 1% | 3.10.21CVE record |
| CVE-2024-9287Virtual environment (venv) activation scripts don't quote paths | 7.8 | None known | under 1% | 3.9.21CVE record |
| CVE-2023-6597An issue was found in the CPython `tempfile.TemporaryDirectory` class affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The… | 7.8 | None known | under 1% | 3.8.19CVE record |
| CVE-2023-24329An issue in the urllib.parse component of Python before 3.11.4 allows attackers to bypass blocklisting methods by supplying a URL that starts with blank… | 7.5 | None known | 20% | 3.7.17NVD |
| CVE-2022-42919Python 3.9.x before 3.9.16 and 3.10.x before 3.10.9 on Linux allows local privilege escalation in a non-default configuration | 7.8 | None known | under 1% | –NVD |
| CVE-2020-15523In Python 3.6 through 3.6.10, 3.7 through 3.7.8, 3.8 through 3.8.4rc1, and 3.9 through 3.9.0b4 on Windows, a Trojan horse python3.dll might be used in cases… | 7.8 | None known | under 1% | 3.7.9NVD |
| CVE-2026-19553SSLContext.wrap_bio() missing validation of server_hostname parameter | 7.6 | None known | under 1% | 3.10.22CVE record |
| CVE-2015-20107In Python (aka CPython) up to 3.10.8, the mailcap module does not add escape characters into commands discovered in the system mailcap file | 7.6 | None known | 3% | –NVD |
| CVE-2021-3737A flaw was found in python | 7.5 | None known | 13% | 3.7.11NVD |
| CVE-2022-0391A flaw was found in Python, specifically within the urllib.parse module | 7.5 | None known | 9% | 3.7.11NVD |
| CVE-2019-9674Lib/zipfile.py in Python through 3.7.2 allows remote attackers to cause a denial of service (resource consumption) via a ZIP bomb | 7.5 | None known | 6% | –NVD |
| CVE-2026-15308Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations | 7.5 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-7210The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection | 7.5 | None known | under 1% | 3.10.22CVE record |
| CVE-2026-3087shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs | 7.5 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-4224Stack overflow parsing XML with deeply nested DTD content models | 7.5 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-3644Incomplete control character validation in http.cookies | 7.5 | None known | under 1% | 3.10.21CVE record |
| CVE-2025-13836Excessive read buffering DoS in http.client | 7.5 | None known | 2% | 3.10.20CVE record |
| CVE-2025-8194Tarfile infinite loop during parsing with negative member offset | 7.5 | None known | under 1% | 3.9.24CVE record |
| CVE-2025-4435Tarfile extracts filtered members when errorlevel=0 | 7.5 | None known | under 1% | 3.9.23CVE record |
| CVE-2025-4330Extraction filter bypass for linking outside extraction directory | 7.5 | None known | 1% | 3.9.23CVE record |
| CVE-2025-4138Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory | 7.5 | None known | 1% | 3.9.23CVE record |
| CVE-2024-12254Unbounded memory buffering in SelectorSocketTransport.writelines() | 7.5 | None known | 2% | 3.12.9CVE record |
| CVE-2024-6232Regular-expression DoS when parsing TarFile headers | 7.5 | None known | 2% | 3.8.20CVE record |
| CVE-2024-4032Incorrect IPv4 and IPv6 private ranges | 7.5 | None known | 1% | 3.8.20CVE record |
| CVE-2022-48560A use-after-free exists in Python through 3.9 via heappushpop in heapq | 7.5 | None known | 2% | 3.7.7NVD |
| CVE-2020-10735A flaw was found in python | 7.5 | None known | 5% | 3.7.14NVD |
| CVE-2019-20907In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because… | 7.5 | None known | 3% | 3.7.9NVD |
| CVE-2024-0397Memory race condition in ssl.SSLContext certificate store methods | 7.4 | None known | under 1% | 3.8.20CVE record |
| CVE-2021-28861Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path… | 7.4 | None known | 3% | 3.7.14NVD |
| CVE-2020-26116http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 allows CRLF injection if the attacker controls the… | 7.2 | None known | 6% | 3.7.9NVD |
| CVE-2026-4786Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open() | 7.1 | None known | under 1% | 3.10.21CVE record |
| CVE-2024-4030tempfile.mkdtemp() may be readable and writeable by all users on Windows | 7.1 | None known | under 1% | 3.8.20CVE record |
| CVE-2022-26488In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured | 7.0 | None known | 1% | –NVD |
| CVE-2013-0340expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows… | 6.8 | None known | 19% | 3.7.12NVD |
| CVE-2026-114583tar filter allows writing outside destination via empty-named symlink | 6.9 | None known | under 1% | 3.11.18CVE record |
| CVE-2026-7774tarfile.data_filter path traversal bypass allows writing outside the extraction directory | 6.9 | None known | under 1% | 3.10.21CVE record |
| CVE-2024-0450Quoted zip-bomb protection for zipfile | 6.2 | Proof of concept | under 1% | 3.8.19CVE record |
| CVE-2016-3189Use-after-free vulnerability in bzip2recover in bzip2 1.0.6 allows remote attackers to cause a denial of service (crash) via a crafted bzip2 file, related to… | 6.5 | None known | 16% | 3.7.13NVD |
| CVE-2020-8492Python 2.7 through 2.7.17, 3.5 through 3.5.9, 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1 allows an HTTP server to conduct Regular Expression… | 6.5 | None known | 7% | –NVD |
| CVE-2026-15806`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching | 6.0 | Proof of concept | under 1% | 3.10.22CVE record |
| CVE-2024-5642Buffer overread when using an empty list with SSLContext.set_npn_protocols() | 6.5 | None known | under 1% | 3.9.24CVE record |
| CVE-2022-48564read_ints in plistlib.py in Python through 3.9.1 is vulnerable to a potential DoS attack via CPU and RAM exhaustion when processing malformed Apple Property… | 6.5 | None known | 2% | 3.7.10NVD |
| CVE-2021-3733There's a flaw in urllib's AbstractBasicAuthHandler class | 6.5 | None known | 5% | 3.7.11NVD |
| CVE-2026-107784tarfile extraction filters accept drive-relative paths on Windows | 6.3 | None known | 1% | 3.16.0CVE record |
| CVE-2025-0938URL parser allowed square brackets in domain names | 6.3 | None known | 2% | 3.9.22CVE record |
| CVE-2022-48566An issue was discovered in compare_digest in Lib/hmac.py in Python through 3.9.1 | 5.9 | Proof of concept | 1% | 3.7.10NVD |
| CVE-2021-23336Web Cache Poisoning | 5.9 | None known | 41% | 3.7.10CVE record |
| CVE-2026-115559imaplib STARTTLS serves plaintext bytes buffered before the handshake as if they came over TLS | 6.3 | None known | under 1% | 3.16.0CVE record |
| CVE-2026-124249`http.cookiejar` applies expired `Set-Cookie` to cookie store before policy validation | 6.3 | None known | under 1% | 3.16.0a2CVE record |
| CVE-2026-19672tarfile extraction filter bypass allows creation of directories outside the destination | 6.3 | None known | under 1% | 3.16.0CVE record |
| CVE-2026-3276Potential DoS via quadratic complexity in unicodedata.normalize() | 6.3 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-6019BaseCookie.js_output() does not neutralize embedded characters | 6.1 | None known | under 1% | 3.13.14CVE record |
| CVE-2019-18348An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0 | 6.1 | None known | 3% | 3.7.8NVD |
| CVE-2026-17084stringprep.map_table_b2() deviates from RFC 3454 Table B.2 | 6.0 | None known | under 1% | 3.10.22CVE record |
| CVE-2026-3446Base64 decoding stops at first padded quad by default | 6.0 | None known | under 1% | 3.13.13CVE record |
| CVE-2026-1299email BytesGenerator header injection due to unquoted newlines | 6.0 | None known | under 1% | 3.10.20CVE record |
| CVE-2026-0672Header injection in http.cookies.Morsel | 6.0 | None known | under 1% | 3.10.20CVE record |
| CVE-2025-15282Header injection via newlines in data URL mediatype | 6.0 | None known | under 1% | 3.10.20CVE record |
| CVE-2024-6923Email header injection due to unquoted newlines | 5.5 | Proof of concept | 1% | 3.8.20CVE record |
| CVE-2020-14422Lib/ipaddress.py in Python through 3.8.3 improperly computes hash values in the IPv4Interface and IPv6Interface classes, which might allow a remote attacker to… | 5.9 | None known | 12% | 3.7.9NVD |
| CVE-2026-12345Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory | 5.9 | None known | under 1% | 3.12.15CVE record |
| CVE-2026-8328FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address | 5.9 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-0865wsgiref.headers.Headers allows header newline injection | 5.9 | None known | under 1% | 3.10.20CVE record |
| CVE-2025-15367POP3 command injection in user-controlled commands | 5.9 | None known | under 1% | 3.15.0a6CVE record |
| CVE-2025-15366IMAP command injection in user-controlled commands | 5.9 | None known | under 1% | 3.13.15CVE record |
| CVE-2025-4516Use-after-free in "unicode_escape" decoder with error handler | 5.9 | None known | under 1% | 3.9.23CVE record |
| CVE-2023-27043The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character | 5.3 | Proof of concept | 3% | 3.8.20NVD |
| CVE-2026-87910tarfile hardlink fallback ignores custom extraction filter rejection via None | 5.7 | None known | under 1% | 3.10.22CVE record |
| CVE-2026-1502HTTP client proxy tunnel headers not validated for CR/LF | 5.7 | None known | under 1% | 3.10.21CVE record |
| CVE-2025-11468Folding email comments of unfoldable characters doesn't preserve parenthesis | 5.7 | None known | under 1% | 3.10.20CVE record |
| CVE-2024-12718Bypass extraction filter to modify file metadata outside extraction directory | 5.3 | Proof of concept | under 1% | 3.9.23CVE record |
| CVE-2021-3426There's a flaw in Python 3's pydoc | 5.7 | None known | 2% | 3.7.10NVD |
| CVE-2026-0864Configuration Injection via Carriage Return (\r) in write() method | 5.5 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-2297SourcelessFileLoader does not use io.open_code() | 5.5 | None known | under 1% | 3.10.21CVE record |
| CVE-2025-13837Out-of-memory when loading Plist | 5.5 | None known | under 1% | 3.10.20CVE record |
| CVE-2025-6075Quadratic complexity in os.path.expandvars() with user-controlled template | 5.5 | None known | under 1% | 3.9.25CVE record |
| CVE-2020-8315In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an… | 5.5 | None known | 1% | –NVD |
| CVE-2021-4189A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode | 5.3 | None known | 4% | 3.7.11NVD |
| CVE-2026-115791Prevent shadowing stdlib in gzip/tarfile/zipfile CLI during extraction | 5.3 | None known | under 1% | 3.16.0CVE record |
| CVE-2026-116566socket.getaddrinfo() accepts embedded null bytes in host and port | 5.3 | None known | under 1% | 3.16.0CVE record |
| CVE-2026-4360Tarfile.extract() doesn't fully respect filter parameter | 5.3 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-12003CPython >3.11 Insecure Input Validation resulting in privilege escalation | 5.3 | None known | under 1% | 3.11.16CVE record |
| CVE-2026-5713Out-of-bounds read/write during remote profiling and asyncio process introspection when connecting to malicious target | 5.3 | None known | under 1% | 3.14.5CVE record |
| CVE-2025-12781base64.b64decode() always accepts "+/" characters, despite setting altchars | 5.3 | None known | under 1% | 3.13.10CVE record |
| CVE-2025-12084Quadratic complexity in node ID cache clearing | 5.3 | None known | under 1% | 3.10.20CVE record |
| CVE-2023-40217An issue was discovered in Python before 3.8.18, 3.9.x before 3.9.18, 3.10.x before 3.10.13, and 3.11.x before 3.11.5 | 5.3 | None known | under 1% | 3.8.18NVD |
| CVE-2024-3219Pure-Python fallback of socket.socketpair() doesn’t authenticate peer connection | 5.1 | None known | under 1% | 3.8.20CVE record |
| CVE-2023-6507Groups not dropped before running subprocess when using empty 'extra_groups' parameter | 4.9 | None known | 1% | 3.12.1CVE record |
| CVE-2025-8291ZIP64 End of Central Directory (EOCD) Locator record offset not checked | 4.3 | Proof of concept | under 1% | 3.9.24CVE record |
| CVE-2025-6069HTMLParser quadratic complexity when processing malformed inputs | 4.3 | None known | under 1% | 3.9.24CVE record |
| CVE-2024-11168Improper validation of IPv6 and IPvFuture addresses | 3.7 | None known | under 1% | 3.9.21CVE record |
| CVE-2026-4519webbrowser.open() allows leading dashes in URLs | 3.3 | None known | under 1% | 3.10.21CVE record |
| CVE-2025-13462tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling | 3.3 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-18503Super-linear CPU usage for unbounded input to csv.Sniffer.sniff() | 2.4 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-16052Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel | 2.3 | None known | under 1% | 3.16.0CVE record |
| CVE-2025-1795Mishandling of comma during folding and unicode-encoding of email headers | 2.3 | None known | under 1% | 3.9.23CVE record |
| CVE-2024-3220Default mimetype known files writeable on Windows | 2.3 | None known | under 1% | 3.11.18CVE record |
| CVE-2026-15310zipfile: bzip2/LZMA/Zstandard members decompress without a max_length bound, defeating chunked-read memory limits | 2.1 | None known | under 1% | 3.10.22CVE record |
| CVE-2026-103995Lenient parsing of integers for response body and chunk framing | 2.0 | None known | under 1% | 3.16.0CVE record |
| CVE-2026-6879Quadratic Behavior in xml.etree.ElementPath Index Predicates | 2.0 | None known | under 1% | 3.10.21CVE record |
| CVE-2026-19552ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity | 0.0 | None known | under 1% | 3.16.0a2CVE record |
| CVE-2026-3479pkgutil.get_data() does not enforce documented restrictions | 0.0 | None known | under 1% | 3.13.13CVE record |
Fixed since 3.7.4
3 CVEs that affect 3.7.4, the release before it, do not affect 3.7.5:
- CVE-2019-15903 In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutive call to… CVSS 7.5
- CVE-2019-16056 An issue was discovered in Python through 2.7.16, 3.x through 3.5.7, 3.6.x through 3.6.9, and 3.7.x through 3.7.4 CVSS 7.5
- CVE-2019-16935 The documentation XML-RPC server in Python through 2.7.16, 3.x through 3.6.9, and 3.7.x through 3.7.4 has XSS via the server_title field CVSS 6.1
Support for the 3.7 line
The 3.7 line was first released 27 June 2018. Security fixes for it ended 27 June 2023, so vulnerabilities found since then stay open on every 3.7 release. Its latest release is 3.7.17. Dates and latest release from endoflife.date.
Other Python 3.7 releases
3.7.1790 3.7.1691 3.7.1595 3.7.1495 3.7.1398 3.7.12101 3.7.11102 3.7.10106 3.7.9113 3.7.8118 3.7.7119 3.7.6122 3.7.4125 3.7.3129
How this list is made
These are the CVEs Dawnsentry matches to each Python version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.
Updated 2 December 2026.