Critical Security Update for Python 3.12: Addressing Multiple Vulnerabilities

python3.12 Updated 26 May 2026

Summary

19/05/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:19177: Important: python3.12 security update. Affects python3.12 versions < 3.12.13-2.el9_8. Fixed in 3.12.13-2.el9_8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Python 3.12 is an interpreted, interactive, object-oriented programming language that supports modules, classes, exceptions, and dynamic data types. It is widely used for various applications, from web development to data analysis. However, recent vulnerabilities have been identified that could potentially compromise the security of applications using this version.

Vulnerability Detail

The vulnerabilities in Python 3.12 stem from various issues, including memory allocation problems, header injection vulnerabilities, and command injection risks. These vulnerabilities can lead to severe consequences such as arbitrary code execution, information disclosure, and denial of service. Specific vulnerabilities include CVE-2025-59375, which allows attackers to trigger large memory allocations, and CVE-2026-6100, which can lead to arbitrary code execution through use-after-free in decompression modules.

How To Fix

Minimum fixed version

3.12.13-2.el9_8

This is the first release that contains the fix.

sudo dnf update python3.12

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, avoid using the affected features until the update is applied. For instance, refrain from using the 'webbrowser.open()' API with untrusted URLs to mitigate the risk of command injection.

Conclusion

The vulnerabilities in Python 3.12 pose significant risks to applications relying on this version. It is crucial to update to the latest patched version to ensure security and stability. Utilizing tools like Vulert can help monitor and alert for open-source vulnerabilities in real-time.

See every vulnerability recorded for python3.12 →

Share this vulnerability

FAQ

The main vulnerabilities include memory allocation issues, header injection vulnerabilities, and command injection risks, which can lead to arbitrary code execution and information disclosure.

You can use Vulert, which monitors open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

It is recommended to update to the patched version 3.12.13-2.el9_8 as soon as possible to mitigate the identified vulnerabilities.

Yes, temporarily avoid using the affected features, such as the 'webbrowser.open()' API with untrusted URLs, until the update is applied.

For more details, refer to the CVE pages listed in the vulnerability report, which provide in-depth information about each specific issue.

Related vulnerabilities

Recent vulnerabilities recorded for python3.12.

How To Fix

Minimum fixed version

3.12.13-2.el9_8

This is the first release that contains the fix.

sudo dnf update python3.12

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback