RHSA-2026:4713MediumCVSS 7.1

Red Hat Security Advisory: python3.12 security update

Published
March 17, 2026
Last Modified
November 5, 2026

🔗 CVE IDs covered (4)

📋 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-0865 — cpython: wsgiref.headers.Headers allows header newline injection in Python CVE-2026-1299 — cpython: email header injection due to unquoted newlines

🎯 Affected products57

  • Red Hat Enterprise Linux AppStream (v. 10)
  • Red Hat Enterprise Linux BaseOS (v. 10)
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python-unversioned-command-0:3.12.12-3.el10_1.1.noarch as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • python3-0:3.12.12-3.el10_1.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
  • python3-0:3.12.12-3.el10_1.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
  • python3-0:3.12.12-3.el10_1.1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
  • python3-0:3.12.12-3.el10_1.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
  • python3-debug-0:3.12.12-3.el10_1.1.aarch64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-debug-0:3.12.12-3.el10_1.1.ppc64le as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-debug-0:3.12.12-3.el10_1.1.s390x as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-debug-0:3.12.12-3.el10_1.1.x86_64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-devel-0:3.12.12-3.el10_1.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • python3-devel-0:3.12.12-3.el10_1.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • python3-devel-0:3.12.12-3.el10_1.1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • python3-devel-0:3.12.12-3.el10_1.1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • python3-idle-0:3.12.12-3.el10_1.1.aarch64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-idle-0:3.12.12-3.el10_1.1.ppc64le as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-idle-0:3.12.12-3.el10_1.1.s390x as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-idle-0:3.12.12-3.el10_1.1.x86_64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-libs-0:3.12.12-3.el10_1.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
  • python3-libs-0:3.12.12-3.el10_1.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
  • python3-libs-0:3.12.12-3.el10_1.1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
  • python3-libs-0:3.12.12-3.el10_1.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
  • python3-test-0:3.12.12-3.el10_1.1.aarch64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-test-0:3.12.12-3.el10_1.1.ppc64le as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-test-0:3.12.12-3.el10_1.1.s390x as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-test-0:3.12.12-3.el10_1.1.x86_64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)
  • python3-tkinter-0:3.12.12-3.el10_1.1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • python3-tkinter-0:3.12.12-3.el10_1.1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
  • +27 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: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. 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 (7)