RHSA-2026:5152MediumCVSS 7.1

Red Hat Security Advisory: python3.11 security update

Published
March 19, 2026
Last Modified
November 5, 2026

🔗 CVE IDs covered (3)

📋 Description

CVE-2025-15366 — cpython: IMAP command injection in user-controlled commands CVE-2025-15367 — cpython: POP3 command injection in user-controlled commands CVE-2026-1299 — cpython: email header injection due to unquoted newlines

🎯 Affected products32

  • Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-0:3.11.2-2.el8_8.8.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-0:3.11.2-2.el8_8.8.src as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-0:3.11.2-2.el8_8.8.src as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-debuginfo-0:3.11.2-2.el8_8.8.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-debuginfo-0:3.11.2-2.el8_8.8.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-debuginfo-0:3.11.2-2.el8_8.8.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-debuginfo-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-debuginfo-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-debugsource-0:3.11.2-2.el8_8.8.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-debugsource-0:3.11.2-2.el8_8.8.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-debugsource-0:3.11.2-2.el8_8.8.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-debugsource-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-debugsource-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-devel-0:3.11.2-2.el8_8.8.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-devel-0:3.11.2-2.el8_8.8.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-devel-0:3.11.2-2.el8_8.8.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-devel-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-devel-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-libs-0:3.11.2-2.el8_8.8.i686 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-libs-0:3.11.2-2.el8_8.8.i686 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-libs-0:3.11.2-2.el8_8.8.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-libs-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-libs-0:3.11.2-2.el8_8.8.x86_64 as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-rpm-macros-0:3.11.2-2.el8_8.8.noarch as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • python3.11-rpm-macros-0:3.11.2-2.el8_8.8.noarch as a component of Red Hat Enterprise Linux AppStream TUS (v.8.8)
  • python3.11-tkinter-0:3.11.2-2.el8_8.8.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.8.8)
  • +2 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: To mitigate this vulnerability, ensure that no data passed to the imaplib module contains newline or carriage return characters. Workaround: To mitigate this vulnerability, ensure that no data passed to the poplib module contains newline or carriage return characters. Workaround: To mitigate this issue, applications accepting user-supplied data for email headers should sanitize the input by stripping or rejecting any strings containing carriage return or line feed characters, '\r' or '\n', respectively, preventing malicious sequences that could lead to header manipulation.

🔗 References (6)