Python 3.11.18 vulnerabilities

19 published vulnerabilities affect Python 3.11.18.

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

What to upgrade to

The newest Python release we know of is 3.15.2, with 9 known CVEs.

Upgrade toFixesStill openNew in that release
3.15.2newest release10 of 199CVE-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.11.18

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-2024-12254Unbounded memory buffering in SelectorSocketTransport.writelines()7.5None known2%3.12.9CVE 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-6019BaseCookie.js_output() does not neutralize embedded characters6.1None knownunder 1%3.13.14CVE record
CVE-2026-3446Base64 decoding stops at first padded quad by default6.0None knownunder 1%3.13.13CVE record
CVE-2026-12345Race condition in tempfile.TemporaryDirectory cleanup allows deleting files outside the temporary directory5.9None knownunder 1%3.12.15CVE record
CVE-2025-15367POP3 command injection in user-controlled commands5.9None knownunder 1%3.15.0a6CVE record
CVE-2025-15366IMAP command injection in user-controlled commands5.9None knownunder 1%3.13.15CVE 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-2025-12781base64.b64decode() always accepts "+/" characters, despite setting altchars5.3None knownunder 1%3.13.10CVE record
CVE-2023-6507Groups not dropped before running subprocess when using empty 'extra_groups' parameter4.9None known1%3.12.1CVE record
CVE-2026-16052Cookie Attribute Injection via Unescaped Semicolons in http.cookies.Morsel2.3None knownunder 1%3.16.0CVE 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
CVE-2026-3479pkgutil.get_data() does not enforce documented restrictions0.0None knownunder 1%3.13.13CVE record

Fixed since 3.11.17

3 CVEs that affect 3.11.17, the release before it, do not affect 3.11.18 (1 critical):

  • CVE-2026-115557 Distrust compromised intermediate certificates in ssl module CVSS 9.4
  • CVE-2026-114583 tar filter allows writing outside destination via empty-named symlink CVSS 6.9
  • CVE-2024-3220 Default mimetype known files writeable on Windows CVSS 2.3

Support for the 3.11 line

The 3.11 line was first released 24 October 2022. It gets security fixes until 31 October 2027. Active support (new features and bug fixes) ended 1 April 2024. Its latest release is 3.11.18. Dates and latest release from endoflife.date.

Other Python 3.11 releases

3.11.1722 3.11.1629 3.11.1552 3.11.1461 3.11.1364 3.11.1270 3.11.1171 3.11.1072 3.11.980 3.11.882 3.11.784 3.11.684 3.11.584 3.11.487

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.