Critical Security Update for Python 3.12: Addressing Vulnerabilities CVE-2026-4786 and CVE-2026-6100

python3.12 Updated 27 Apr 2026

Summary

27/04/2026
N/A
Yes i
High
8.1

RHSA-2026:10745: Red Hat Security Advisory: python3.12 security update. Affects python3.12 versions < 0:3.12.12-4.el9_7.3. Fixed in 0:3.12.12-4.el9_7.3. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Python 3.12 is a widely used programming language that supports various programming paradigms, including procedural, object-oriented, and functional programming. It is known for its simplicity and readability, making it a popular choice among developers. However, recent vulnerabilities have been identified that could potentially compromise the security of applications built using this version.

Vulnerability Detail

The vulnerabilities identified as CVE-2026-4786 and CVE-2026-6100 in Python 3.12 could allow attackers to exploit weaknesses in the software, leading to unauthorized access, data breaches, or denial of service. These vulnerabilities stem from flaws in the handling of certain inputs and could have severe ramifications if left unaddressed. The CVSS score of this vulnerability is 8.1, indicating a high level of risk.

How To Fix

Minimum fixed version

0:3.12.12-4.el9_7.3

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

If immediate patching is not feasible, consider restricting access to the affected applications or implementing additional security measures such as input validation and sanitization to mitigate the risk until the update can be applied.

Conclusion

The vulnerabilities in Python 3.12 pose significant risks to applications utilizing this version. It is crucial to apply the recommended updates promptly to safeguard against potential exploits. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for python3.12 →

Share this vulnerability

FAQ

These are identifiers for specific vulnerabilities found in Python 3.12 that could lead to security breaches.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

The CVSS score for these vulnerabilities is 8.1, indicating a high severity level.

Consider implementing workarounds such as restricting access or enhancing input validation to mitigate risks.

Detailed information can be found in the Red Hat Security Advisory and the CVE entries for these vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for python3.12.

How To Fix

Minimum fixed version

0:3.12.12-4.el9_7.3

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