Cybersecurity

Python Releases Security Updates for Versions 3.9 Through 3.12

2026-05-01 17:12:44

Overview of the Security Releases

Python has published new maintenance and security releases for its older yet widely used versions: 3.12.12, 3.11.14, 3.10.19, and 3.9.24. These updates focus on patching critical vulnerabilities in core libraries, including XML parsing, archive handling, and HTML parsing. While the latest Python 3.14.0 development branch gets attention, these releases ensure that the vast ecosystem of applications relying on stable versions remains secure.

Python Releases Security Updates for Versions 3.9 Through 3.12

Key Security Fixes Across All Versions

XML-Related Fixes

Two important XML security issues were addressed:

Archive-Related Fixes

Two improvements in archive file validation prevent malicious archives from exploiting Python’s extraction logic:

HTML Parsing Fixes (gh-135661 and related)

The HTML parser (html.parser.HTMLParser) now conforms more closely to the HTML5 standard. A series of changes fix edge cases that could be exploited for denial of service or information leakage:

Specific Version Updates

Python 3.12.12

This release incorporates all the generic fixes described above plus version‐specific improvements. Download from the official Python 3.12.12 download page.

Python 3.11.14

In addition to the shared XML, archive, and HTML fixes, this version includes an important update:

Get the release from the Python downloads page.

Python 3.10.19

Version 3.10.19 contains the same core security patches as above. Check the Python 3.10.19 download page.

Python 3.9.24

Python 3.9.24 also benefits from all the shared fixes. Download from Python 3.9.24 download page.

Conclusion

While newer Python versions may attract more buzz, these security releases for versions 3.9 through 3.12 provide critical safeguards for production systems. Administrators and developers are strongly encouraged to upgrade promptly, especially to protect against the HTML parser vulnerability that could be exploited with crafted web content.

Explore

10 Key Facts About Russia's Soyuz 5 Rocket After Its Successful Debut GitHub's Commitment to Reliability: Navigating Exponential Growth and Improving Availability GitHub Overhauls Status Page with New Severity Levels and Per-Service Uptime Metrics Preserving Digital Infrastructure: How Chainguard Sustains Abandoned Open Source Projects How to Prevent Real-Time Teamwork Dashboards from Undermining Collaboration