Python 3.13.15 vulnerabilities

22 published vulnerabilities affect Python 3.13.15.

22CVEs
2critical (CVSS 9+)
2high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest release on the 3.13 line is 3.13.18, with 11 known CVEs. The newest Python release we know of is 3.15.2, with 9 known CVEs.

Upgrade toFixesStill openNew in that release
3.13.18newest 3.13 release11 of 222 critical11CVE-2026-107784, CVE-2026-115559, CVE-2026-124249 and 8 morenone
3.15.2newest release13 of 222 critical9CVE-2026-107784, CVE-2026-115559, CVE-2026-124249 and 6 morenone

"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.13.15

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.

CVECVSSExploitationEPSSFixed in
CVE-2026-115557Distrust compromised intermediate certificates in ssl module9.4None knownunder 1%3.13.18CVE record
CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts9.2None knownunder 1%3.13.16CVE record
CVE-2026-82049tarfile extraction filters allow file modification and content disclosure via hard link to symlink8.4None knownunder 1%3.13.16CVE record
CVE-2026-19553SSLContext.wrap_bio() missing validation of server_hostname parameter7.6None knownunder 1%3.13.16CVE record
CVE-2026-114583tar filter allows writing outside destination via empty-named symlink6.9None knownunder 1%3.13.18CVE record
CVE-2026-15806`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching6.0Proof of conceptunder 1%3.13.16CVE record
CVE-2026-107784tarfile extraction filters accept drive-relative paths on Windows6.3None known1%3.16.0CVE record
CVE-2026-115559imaplib STARTTLS serves plaintext bytes buffered before the handshake as if they came over TLS6.3None knownunder 1%3.16.0CVE record
CVE-2026-124249`http.cookiejar` applies expired `Set-Cookie` to cookie store before policy validation6.3None knownunder 1%3.16.0a2CVE record
CVE-2026-19672tarfile extraction filter bypass allows creation of directories outside the destination6.3None knownunder 1%3.16.0CVE record
CVE-2026-17084stringprep.map_table_b2() deviates from RFC 3454 Table B.26.0None knownunder 1%3.13.16CVE record
CVE-2026-12345Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory5.9None knownunder 1%3.13.18CVE record
CVE-2025-15367POP3 command injection in user-controlled commands5.9None knownunder 1%3.15.0a6CVE record
CVE-2026-87910tarfile hardlink fallback ignores custom extraction filter rejection via None5.7None knownunder 1%3.13.16CVE record
CVE-2026-115791Prevent shadowing stdlib in gzip/tarfile/zipfile CLI during extraction5.3None knownunder 1%3.16.0CVE record
CVE-2026-116566socket.getaddrinfo() accepts embedded null bytes in host and port5.3None knownunder 1%3.16.0CVE record
CVE-2026-5713Out-of-bounds read/write during remote profiling and asyncio process introspection when connecting to malicious target5.3None knownunder 1%3.14.5CVE record
CVE-2026-16052Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel2.3None knownunder 1%3.16.0CVE record
CVE-2024-3220Default mimetype known files writeable on Windows2.3None knownunder 1%3.13.18CVE record
CVE-2026-15310zipfile: bzip2/LZMA/Zstandard members decompress without a max_length bound, defeating chunked-read memory limits2.1None knownunder 1%3.13.16CVE record
CVE-2026-103995Lenient parsing of integers for response body and chunk framing2.0None knownunder 1%3.16.0CVE record
CVE-2026-19552ssl.get_server_certificate(addr, ca_certs=...) verifies the chain but never the identity0.0None knownunder 1%3.16.0a2CVE record

Fixed since 3.13.14

9 CVEs that affect 3.13.14, the release before it, do not affect 3.13.15:

  • CVE-2026-11972 tarfile opened in streaming mode mishandles EOF CVSS 8.2
  • CVE-2026-11940 tarfile extraction filter bypass allows escaping the destination directory CVSS 7.8
  • CVE-2026-15308 Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations CVSS 7.5
  • CVE-2025-15366 IMAP command injection in user-controlled commands CVSS 5.9
  • CVE-2026-0864 Configuration Injection via Carriage Return (\r) in write() method CVSS 5.5
  • CVE-2026-4360 Tarfile.extract() doesn't fully respect filter parameter CVSS 5.3
  • CVE-2026-12003 CPython >3.11 Insecure Input Validation resulting in privilege escalation CVSS 5.3
  • CVE-2026-18503 Super-linear CPU usage for unbounded input to csv.Sniffer.sniff() CVSS 2.4

And 1 more: CVE-2026-6879.

Support for the 3.13 line

The 3.13 line was first released 7 October 2024. It gets security fixes until 31 October 2029. Active support (new features and bug fixes) ended 1 October 2026. Its latest release is 3.13.18. Dates and latest release from endoflife.date.

Other Python 3.13 releases

3.13.1811 3.13.1715 3.13.1615 3.13.1431 3.13.1342 3.13.1249 3.13.1154 3.13.1056 3.13.960 3.13.860 3.13.760 3.13.660 3.13.562 3.13.462

All Python versions

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.