Critical Security Update for Python 3.12: Addressing CVE-2026-15308

python3.12 Updated 18 Jul 2026

Summary

15/07/2026
N/A
Yes i
High
7.5

RHSA-2026:39771: Red Hat Security Advisory: python3.12 security update. Affects python3.12 versions < 0:3.12.13-3.el9_8.1. Fixed in 0:3.12.13-3.el9_8.1. 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 known for its simplicity and versatility in various applications, from web development to data analysis. This version includes numerous enhancements and features aimed at improving performance and developer experience. However, it is crucial to address security vulnerabilities that may arise, as they can lead to significant risks if left unpatched.

Vulnerability Detail

The vulnerability identified as CVE-2026-15308 in Python 3.12 allows for potential exploitation that could compromise the integrity and availability of applications relying on this version. This issue stems from insufficient input validation, which may lead to arbitrary code execution or denial of service. Attackers could leverage this vulnerability to execute malicious code, leading to data breaches or service disruptions.

How To Fix

Minimum fixed version

0:3.12.13-3.el9_8.1

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, you can restrict access to the affected application or disable features that utilize the vulnerable components until the update is applied. Additionally, consider implementing input validation checks in your application code to mitigate potential exploitation.

Conclusion

The vulnerability CVE-2026-15308 in Python 3.12 poses significant risks that could lead to arbitrary code execution. It is crucial to update to the patched version 3.12.13-3.el9_8.1 to mitigate these risks. Implementing workarounds can provide temporary relief, but a permanent fix through an update is essential for long-term security.

See every vulnerability recorded for python3.12 →

Share this vulnerability

FAQ

CVE-2026-15308 is a security vulnerability in Python 3.12 that could allow attackers to execute arbitrary code due to insufficient input validation.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2026-15308 is 7.5, indicating a high severity level.

If an immediate update is not possible, consider implementing input validation and restricting access to the affected application as temporary workarounds.

More information can be found in the Red Hat Security Advisory and on the official CVE database.

Related vulnerabilities

Recent vulnerabilities recorded for python3.12.

How To Fix

Minimum fixed version

0:3.12.13-3.el9_8.1

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