Python 3.12.10 vulnerabilities

68 published vulnerabilities affect Python 3.12.10.

68CVEs
3critical (CVSS 9+)
18high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest release on the 3.12 line is 3.12.16, with 16 known CVEs. The newest Python release we know of is 3.15.2, with 9 known CVEs.

Upgrade toFixesStill openNew in that release
3.12.16newest 3.12 release52 of 683 critical16CVE-2026-107784, CVE-2026-115559, CVE-2026-124249 and 13 morenone
3.15.2newest release59 of 683 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.12.10

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.12.16CVE record
CVE-2025-4517Arbitrary writes via tarfile realpath overflow9.4None known1%3.12.11CVE record
CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts9.2None knownunder 1%3.12.15CVE record
CVE-2026-3298Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes8.8None knownunder 1%3.12.14CVE record
CVE-2026-82049tarfile extraction filters allow file modification and content disclosure via hard link to symlink8.4None knownunder 1%3.12.15CVE record
CVE-2026-11972tarfile opened in streaming mode mishandles EOF8.2None knownunder 1%3.12.14CVE record
CVE-2026-9669bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow8.2None knownunder 1%3.12.14CVE record
CVE-2026-6100Use-after-free in lzma.LZMADecompressor, bz2.BZ2Decompressor, and gzip.GzipFile after re-use under memory pressure8.1None knownunder 1%3.12.14CVE record
CVE-2026-11940tarfile extraction filter bypass allows escaping the destination directory7.8None knownunder 1%3.12.14CVE record
CVE-2026-19553SSLContext.wrap_bio() missing validation of server_hostname parameter7.6None knownunder 1%3.12.15CVE record
CVE-2026-15308Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations7.5None knownunder 1%3.12.14CVE record
CVE-2026-7210The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection7.5None knownunder 1%3.12.14CVE record
CVE-2026-3087shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs7.5None knownunder 1%3.12.14CVE record
CVE-2026-4224Stack overflow parsing XML with deeply nested DTD content models7.5None knownunder 1%3.12.14CVE record
CVE-2026-3644Incomplete control character validation in http.cookies7.5None knownunder 1%3.12.14CVE record
CVE-2025-13836Excessive read buffering DoS in http.client7.5None known2%3.12.13CVE record
CVE-2025-8194Tarfile infinite loop during parsing with negative member offset7.5None knownunder 1%3.12.12CVE record
CVE-2025-4435Tarfile extracts filtered members when errorlevel=07.5None knownunder 1%3.12.11CVE record
CVE-2025-4330Extraction filter bypass for linking outside extraction directory7.5None known1%3.12.11CVE record
CVE-2025-4138Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory7.5None known1%3.12.11CVE record
CVE-2026-4786Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()7.1None knownunder 1%3.12.14CVE record
CVE-2026-114583tar filter allows writing outside destination via empty-named symlink6.9None knownunder 1%3.12.16CVE record
CVE-2026-7774tarfile.data_filter path traversal bypass allows writing outside the extraction directory6.9None knownunder 1%3.12.14CVE record
CVE-2026-15806`HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching6.0Proof of conceptunder 1%3.12.15CVE 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-3276Potential DoS via quadratic complexity in unicodedata.normalize()6.3None knownunder 1%3.12.14CVE record
CVE-2026-6019BaseCookie.js_output() does not neutralize embedded characters6.1None knownunder 1%3.13.14CVE record
CVE-2026-17084stringprep.map_table_b2() deviates from RFC 3454 Table B.26.0None knownunder 1%3.12.15CVE record
CVE-2026-3446Base64 decoding stops at first padded quad by default6.0None knownunder 1%3.13.13CVE record
CVE-2026-1299email BytesGenerator header injection due to unquoted newlines6.0None knownunder 1%3.12.13CVE record
CVE-2026-0672Header injection in http.cookies.Morsel6.0None knownunder 1%3.12.13CVE record
CVE-2025-15282Header injection via newlines in data URL mediatype6.0None knownunder 1%3.12.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-2026-8328FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address5.9None knownunder 1%3.12.14CVE record
CVE-2026-0865wsgiref.headers.Headers allows header newline injection5.9None knownunder 1%3.12.13CVE 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-2025-4516Use-after-free in "unicode_escape" decoder with error handler5.9None knownunder 1%3.12.11CVE record
CVE-2026-87910tarfile hardlink fallback ignores custom extraction filter rejection via None5.7None knownunder 1%3.12.15CVE record
CVE-2026-1502HTTP client proxy tunnel headers not validated for CR/LF5.7None knownunder 1%3.12.14CVE record
CVE-2025-11468Folding email comments of unfoldable characters doesn't preserve parenthesis5.7None knownunder 1%3.12.13CVE record
CVE-2024-12718Bypass extraction filter to modify file metadata outside extraction directory5.3Proof of conceptunder 1%3.12.11CVE record
CVE-2026-0864Configuration Injection via Carriage Return (\r) in write() method5.5None knownunder 1%3.12.14CVE record
CVE-2026-2297SourcelessFileLoader does not use io.open_code()5.5None knownunder 1%3.12.14CVE record
CVE-2025-13837Out-of-memory when loading Plist5.5None knownunder 1%3.12.13CVE record
CVE-2025-6075Quadratic complexity in os.path.expandvars() with user-controlled template5.5None knownunder 1%3.12.13CVE 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-4360Tarfile.extract() doesn't fully respect filter parameter5.3None knownunder 1%3.12.14CVE record
CVE-2026-12003CPython >3.11 Insecure Input Validation resulting in privilege escalation5.3None knownunder 1%3.12.14CVE 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-2025-12084Quadratic complexity in node ID cache clearing5.3None knownunder 1%3.12.13CVE record
CVE-2025-8291ZIP64 End of Central Directory (EOCD) Locator record offset not checked4.3Proof of conceptunder 1%3.12.12CVE record
CVE-2025-6069HTMLParser quadratic complexity when processing malformed inputs4.3None knownunder 1%3.12.12CVE record
CVE-2026-4519webbrowser.open() allows leading dashes in URLs3.3None knownunder 1%3.12.14CVE record
CVE-2025-13462tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling3.3None knownunder 1%3.12.14CVE record
CVE-2026-18503Super-linear CPU usage for unbounded input to csv.Sniffer.sniff()2.4None knownunder 1%3.12.14CVE 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.12.16CVE record
CVE-2026-15310zipfile: bzip2/LZMA/Zstandard members decompress without a max_length bound, defeating chunked-read memory limits2.1None knownunder 1%3.12.15CVE record
CVE-2026-103995Lenient parsing of integers for response body and chunk framing2.0None knownunder 1%3.16.0CVE record
CVE-2026-6879Quadratic Behavior in xml.etree.ElementPath Index Predicates2.0None knownunder 1%3.12.14CVE 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

Support for the 3.12 line

The 3.12 line was first released 2 October 2023. It gets security fixes until 31 October 2028. Active support (new features and bug fixes) ended 2 April 2025. Its latest release is 3.12.16. Dates and latest release from endoflife.date.

Other Python 3.12 releases

3.12.1616 3.12.1519 3.12.1427 3.12.1350 3.12.1259 3.12.1162 3.12.968 3.12.870 3.12.771 3.12.671 3.12.575 3.12.477 3.12.379 3.12.281

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.