ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-1299

cpython: email header injection due to unquoted newlines

Moderate No fix available CVE-2026-1299

Details

A flaw was found in the email module in the Python standard library. When serializing an email message, the BytesGenerator class fails to properly quote newline characters for email headers. This issue is exploitable when the LiteralHeader class is used as it does not respect email folding rules, allowing an attacker to inject email headers and potentially modify message recipients or the email body, and spoof sender information.

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