Python Ships Security Updates Across 3.11–3.15

Daily Code Guide Python News

Python has issued expedited security updates for five maintained release lines. Python 3.15.2, 3.14.10, 3.13.18, 3.12.16, and 3.11.18 add TLS protection against compromised eMudhra intermediate certificate authority keys and include additional security-related changes in several branches.

The version-specific releases are dated October 25, 2026. The Python Insider announcement followed on October 26. Organizations should identify which Python branches are deployed across application runtimes, CI/CD systems, containers, and production services, then select the corresponding patched release.

What changed in the Python updates

The most consequential change is in Python’s ssl module. The patched releases include a built-in denylist for public keys associated with compromised eMudhra intermediate certificate authorities. Certificate chains using those keys can be rejected by Python TLS connections.

The denylist matches SHA-256 digests of the certificates’ RFC 5280 SubjectPublicKeyInfo values. It also covers cross-signed certificates that reuse a distrusted key. The Python changelog describes this as an extraordinary fallback or last-line measure while operating-system, container, or bundled trust-store updates may not yet have reached a system.

That distinction matters for administrators. The Python-level denylist does not replace routine maintenance of platform and bundled trust stores. The release changes are an additional protection in the Python runtime, not evidence that every underlying operating system or vendor distribution has already incorporated the corresponding trust changes.

The Python release pages identify the certificate-key change as CVE-2026-115557. According to eMudhra’s incident statement, eight emSign G3 intermediate TLS certificate authority keys were weak or recoverable and the affected intermediates were revoked. eMudhra says those intermediates had not issued publicly trusted end-entity certificates. Browser root programs nevertheless distrusted the associated ECC root as a precaution.

That information describes the certificate incident’s reported scope; it does not establish that every Python user was exposed or that the affected certificates were actively used against a particular environment.

Ad

Additional security-related changes

The releases also change behavior in areas that may affect applications processing untrusted input:

  • The tarfile.tar_filter handling rejects links that resolve to or replace the extraction destination.
  • http.cookiejar rejects negative-version cookies instead of accepting them without the relevant domain validation.
  • Python 3.13.18, 3.12.16, and 3.11.18 include updates involving bundled Expat 2.9.0, Windows MIME configuration, and an email header refolding or quoting edge case.
  • Python 3.13.18 and 3.12.16 also list a cleanup race fix involving tempfile.TemporaryDirectory.

The exact set of changes varies by branch. The official release pages and the full changelog should be used when reviewing a specific version’s behavior rather than assuming that every branch contains every listed change.

Release availability varies by branch

Python 3.15.2 and 3.14.10 are available with binary installers. The detailed Python 3.14.10 release page lists installers for macOS 10.15 and later, Windows 64-bit and 32-bit systems, and an experimental Windows ARM64 installer. It also lists Windows embeddable packages and Android embeddable packages.

Python 3.13.18, 3.12.16, and 3.11.18 are source-only security releases. Their official pages state that those branches are in source-only security-support phases and no longer provide official binary installers. This does not mean the branches cannot be installed; it means organizations using them may need to build from the official source distribution or obtain a package from another provider.

The official release pages provide source archives, SHA-256 checksums, and available verification artifacts such as Sigstore, SBOM, and GPG metadata. Availability through a particular operating-system package manager, container registry, or vendor runtime is not established by the supplied release information, so teams should check those providers directly.

Implications for TLS and package operations

Applications that establish TLS connections through Python should verify both the interpreter version and the state of the surrounding trust store. After upgrading, certificate chains containing one of the distrusted eMudhra intermediate keys can be rejected by the patched ssl implementation.

The Python release pages also state that normal pip operations, including upgrading pip, are protected from attacks based on the compromised keys when they run under a patched Python release, even if pip itself has not yet been updated. This statement applies to the patched runtime; it should not be treated as confirmation that an unpatched interpreter has the same protection.

Teams should also test workflows that extract archives, process cookies, or handle email headers. Inputs accepted by an earlier interpreter may now be rejected or handled differently because of the security changes. The supplied sources do not document specific compatibility requirements, compiler requirements, hardware requirements, or minimum pip versions.

What you should do

  1. Inventory affected interpreters. Check application hosts, developer environments, CI/CD runners, containers, and production systems for Python 3.15, 3.14, 3.13, 3.12, and 3.11 installations.
  2. Choose the matching patched release. Upgrade Python 3.15 installations to 3.15.2, 3.14 installations to 3.14.10, 3.13 installations to 3.13.18, 3.12 installations to 3.12.16, and 3.11 installations to 3.11.18.
  3. Plan for source-only branches. For 3.13, 3.12, and 3.11, use the official source archives or an externally supplied package. Verify the archive using the checksums or other verification metadata published on the relevant Python release page.
  4. Review TLS trust paths. Confirm that the Python runtime is patched and check whether the operating system, container base image, or bundled trust store has received its own trust updates.
  5. Test input-handling changes. Exercise archive extraction, cookie processing, email handling, and other relevant application paths before completing a production rollout.
  6. Confirm provider availability. Do not assume that a package manager, container image, or vendor Python runtime has published these versions without checking its current package information.

Important limitations

The supplied release information does not provide general compatibility guidance for organizations that cannot upgrade immediately, nor does it inventory every downstream platform affected by the eMudhra incident. It also does not establish whether every distribution or vendor has shipped the updates.

For that reason, the safest operational reading is specific: move affected Python installations to the corresponding patched release where practical, validate the result in the environments that matter, and maintain the surrounding platform trust stores rather than relying only on the runtime denylist.

Sources

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Ad
Ad
Ad