Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.

Python 3.13.4

Note: Python 3.13.4 has been superseded by Python 3.13.11.

Release date: June 3, 2025

This is the fourth maintenance release of Python 3.13

Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.4 is the latest maintenance release, containing a few important security fixes as well as around 300 bugfixes, build improvements and documentation changes since 3.13.3.

NOTE: This release contains several unintended regressions, which are fixed in the next 3.13 release, 3.13.5. Using the latest 3.13 instead of this one is recommended.

Security content in this release

  • gh-135034: [CVE 2024-12718] [CVE 2025-4138] [CVE 2025-4330] [CVE 2025-4435] [CVE 2025-4517] Fixes multiple issues that allowed tarfile extraction filters (filter="data" and filter="tar") to be bypassed using crafted symlinks and hard links.
  • gh-133767: Fix use-after-free in the “unicode-escape” decoder with a non-“strict” error handler.
  • gh-128840: Short-circuit the processing of long IPv6 addresses early in ipaddress to prevent excessive memory consumption and a minor denial-of-service.

Major new features of the 3.13 series, compared to 3.12

Some of the new major new features and changes in Python 3.13 are:

New features

Typing

Removals and new deprecations

  • PEP 594 (Removing dead batteries from the standard library) scheduled removals of many deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, telnetlib, uu, xdrlib, lib2to3.
  • Many other removals of deprecated classes, functions and methods in various standard library modules.
  • C API removals and deprecations. (Some removals present in alpha 1 were reverted in alpha 2, as the removals were deemed too disruptive at this time.)
  • New deprecations, most of which are scheduled for removal from Python 3.15 or 3.16.

For more details on the changes to Python 3.13, see What's new in Python 3.13.

More resources

Full Changelog

Files

Version Operating system Description File size Sigstore SBOM GPG MD5 checksum
Gzipped source tarball Source release 28.0 MB .sigstore SPDX SIG 264bd0fa99f69d05f582d7909cac2d3f
XZ compressed source tarball Source release 21.6 MB .sigstore SPDX SIG 2e2a8eb2e1be50049dc4248d99a52f89
macOS 64-bit universal2 installer macOS for macOS 10.13 and later 67.0 MB .sigstore SIG 9aa9fa33aeb16f47703b05f0053fbc09
Windows installer (64-bit) Windows Recommended 27.3 MB .sigstore SPDX SIG ee91d61ba59659d23eba4347995163bc
Windows installer (32-bit) Windows 26.1 MB .sigstore SPDX SIG 7046126db6362e759988af4ec16faa44
Windows installer (ARM64) Windows Experimental 26.6 MB .sigstore SPDX SIG f133357fff1dba8b19288d4bc115c9dd
Windows embeddable package (64-bit) Windows 10.4 MB .sigstore SPDX SIG 7820da5998bf7d5d25530d871a1e0e28
Windows embeddable package (32-bit) Windows 9.2 MB .sigstore SPDX SIG 21a460c5b1fd2d791755e239dfbf1141
Windows embeddable package (ARM64) Windows 9.7 MB .sigstore SPDX SIG fd3b26576f60ef44c75b3eb4ff4f437a