ADVISORIES

Red Hat VEX

RHVEX-CVE-2025-15366

cpython: IMAP command injection in user-controlled commands

Moderate No fix available CVE-2025-15366

Details

A flaw was found in the imaplib module in the Python standard library. The imaplib module does not reject control characters, such as newlines, in user-controlled input passed to IMAP commands. This issue allows an attacker to inject additional commands to be executed in the IMAP server.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10python3.14
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-debug
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-devel
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-freethreading
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-freethreading-debug
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-freethreading-devel
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-freethreading-idle
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-freethreading-libs
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-freethreading-test
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-freethreading-tkinter
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-idle
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-libs
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-test
All versions, no fix yet
Red Hat:enterprise_linux:10python3.14-tkinter
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-debug
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-devel
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-freethreading
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-freethreading-debug
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-freethreading-devel
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-freethreading-idle
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-freethreading-libs
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-freethreading-test
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-freethreading-tkinter
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-idle
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-libs
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-test
All versions, no fix yet
Red Hat:enterprise_linux:9python3.14-tkinter
All versions, no fix yet

References