Moderate Security Update for Python 3.11: Addressing IMAP and POP3 Command Injection Vulnerabilities

python3.11 Updated 16 Mar 2026

Summary

10/03/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:4216: Moderate: python3.11 security update. Affects python3.11 versions < 3.11.13-5.1.el9_7. Fixed in 3.11.13-5.1.el9_7. 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.11 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 dynamic data types, making it versatile and powerful. However, recent vulnerabilities have been identified that could impact its security, particularly in handling user-controlled commands.

Vulnerability Detail

The vulnerabilities in Python 3.11 stem from command injection issues in the IMAP and POP3 protocols, allowing attackers to execute arbitrary commands by manipulating user input. Additionally, there is an email header injection vulnerability due to unquoted newlines, which could lead to further exploitation. These vulnerabilities could compromise the integrity and confidentiality of user data, making it critical to address them promptly.

How To Fix

Minimum fixed version

3.11.13-5.1.el9_7

This is the first release that contains the fix.

sudo dnf update python3.11

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

Workaround

As a temporary workaround, avoid using user-controlled commands in IMAP and POP3 operations until the update is applied. Implement input validation to sanitize user inputs and prevent command injection.

Conclusion

The vulnerabilities identified in Python 3.11 pose significant risks, particularly in handling user inputs for IMAP and POP3 commands. It is crucial to update to the latest patched version to mitigate these risks and ensure the security of applications using this programming language.

See every vulnerability recorded for python3.11 →

Share this vulnerability

FAQ

The vulnerabilities include IMAP command injection, POP3 command injection, and email header injection due to unquoted newlines.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner.

These vulnerabilities could allow attackers to execute arbitrary commands, potentially compromising user data and system integrity.

Yes, a patch is available in version 3.11.13-5.1.el9_7 of Python 3.11.

Implement input validation and avoid using user-controlled commands in IMAP and POP3 operations as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for python3.11.

How To Fix

Minimum fixed version

3.11.13-5.1.el9_7

This is the first release that contains the fix.

sudo dnf update python3.11

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