Security Update for Python 3.12: Addressing Critical Vulnerabilities

python3.12 Updated 08 Jan 2026

Summary

06/01/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:0123: Moderate: python3.12 security update. Affects python3.12 versions < 3.12.12-1.el8_10. Fixed in 3.12.12-1.el8_10. 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 widely used for various applications, including web development, data analysis, artificial intelligence, and more. It features modules, classes, exceptions, and high-level dynamic data types, making it a versatile choice for developers. However, recent vulnerabilities have been identified that could compromise the security of applications using this version.

Vulnerability Detail

The vulnerabilities in Python 3.12 stem from two main issues: the first involves the zipfile module, where the End of Central Directory (EOCD) Locator record offset is not properly checked, potentially allowing attackers to exploit this oversight. The second vulnerability is a quadratic algorithm in the xml.dom.minidom module, which can lead to denial of service (DoS) attacks. Both vulnerabilities could allow malicious actors to disrupt services or gain unauthorized access to sensitive data.

How To Fix

Minimum fixed version

3.12.12-1.el8_10

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

Currently, there are no specific workarounds mentioned for these vulnerabilities. The best course of action is to apply the security update as soon as possible.

Conclusion

In summary, Python 3.12 has critical vulnerabilities that could impact the security of applications using this version. It is crucial to update to the latest patched version to mitigate these risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your software.

See every vulnerability recorded for python3.12 →

Share this vulnerability

FAQ

The main vulnerabilities include an unchecked EOCD Locator record offset in the zipfile module and a quadratic algorithm issue in the xml.dom.minidom module.

These vulnerabilities can lead to denial of service attacks and unauthorized access to sensitive data, compromising the security and functionality of your application.

Yes, a patch is available in version 3.12.12-1.el8_10. It is recommended to update to this version to secure your application.

You can update Python 3.12 using the command: 'sudo dnf update python3.12'.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just a manifest file like package-lock.json. You can check your application for vulnerabilities using the Vulert playground at Vulert Scanner.

Related vulnerabilities

Recent vulnerabilities recorded for python3.12.

How To Fix

Minimum fixed version

3.12.12-1.el8_10

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