Cybersecurity

Python Security Releases: Critical Patches for Versions 3.9 Through 3.12

2026-05-01 09:46:14

Introduction

Python has released security updates for its venerable versions 3.9.24, 3.10.19, 3.11.14, and 3.12.12. While the community eagerly anticipates Python 3.14.0 (which Hugo has been showcasing), these older branches receive critical patches addressing vulnerabilities in XML handling, archive processing, and HTML parsing. This article details the key fixes and improvements in these maintenance releases.

Python Security Releases: Critical Patches for Versions 3.9 Through 3.12

Overview of the Security Releases

The new releases focus on hardening core libraries against potential exploits. Among the most notable changes are updates to the bundled libexpat XML parser, improvements to tarfile and zipfile validation, and a comprehensive overhaul of the HTML parser to comply with HTML5 standards. Below, we break down each area of improvement.

XML-Related Fixes

Two significant XML vulnerabilities have been addressed:

Archive-Related Fixes

The tarfile and zipfile modules have received validation improvements:

HTML Parsing Fixes

The html.parser module underwent a major set of changes to align with the HTML5 specification. These fixes enhance security and correctness:

Version‑Specific Updates

Python 3.12.12

This release includes all the general security fixes described above. Users of Python 3.12 are strongly encouraged to upgrade. Download it from the official release page.

Python 3.11.14

In addition to the common security patches, Python 3.11.14 updates the bundled copy of setuptools to version 79.0.1 to address two vulnerabilities: CVE-2025-47273 and CVE-2024-6345. These fixes protect against potential remote code execution and privilege escalation. See the downloads page for details.

Python 3.10.19 and 3.9.24

These older versions receive the same core security fixes for XML, archive, and HTML parsing as the 3.11 and 3.12 releases. Maintaining them ensures that users on extended support cycles remain protected.

Conclusion

These security releases demonstrate the Python core team’s commitment to maintaining even older versions of the language. Users running Python 3.9 through 3.12 should upgrade to the respective latest patch levels to mitigate the risks outlined above. For a complete list of changes and download links, visit the Python download page.

Explore

Top Android Game and App Bargains: Star Wars KOTOR, Metal Soldiers 4 Pro, and More Hardware Deals New Python Backdoor 'DEEP#DOOR' Exploits Tunneling Service to Breach Browser and Cloud Credentials Cloud Messages: Decoding Winter’s End Over the Gulf of Alaska Ann Arbor Launches Pilot to Install Solar-Plus-Storage on 150 Homes, Aims to Slash Utility Bills How to Set Up Centralized Cross-Account Safeguards with Amazon Bedrock Guardrails