RHSA-2026:5393MediumCVSS 7.1
Red Hat Security Advisory: python security update
🔗 CVE IDs covered (2)
📋 Description
CVE-2025-15366 — cpython: IMAP command injection in user-controlled commands CVE-2025-15367 — cpython: POP3 command injection in user-controlled commands
🎯 Affected products45
- Red Hat Enterprise Linux Server (v. 7 ELS)
- Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- python-0:2.7.5-94.el7_9.3.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-0:2.7.5-94.el7_9.3.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-0:2.7.5-94.el7_9.3.s390x as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-0:2.7.5-94.el7_9.3.src as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-0:2.7.5-94.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-debug-0:2.7.5-94.el7_9.3.ppc64 as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- python-debug-0:2.7.5-94.el7_9.3.ppc64le as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- python-debug-0:2.7.5-94.el7_9.3.s390x as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- python-debug-0:2.7.5-94.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.i686 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.ppc as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.ppc64 as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.ppc64le as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.s390 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.s390x as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.s390x as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-debuginfo-0:2.7.5-94.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Server Optional (v. 7 ELS)
- python-devel-0:2.7.5-94.el7_9.3.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-devel-0:2.7.5-94.el7_9.3.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-devel-0:2.7.5-94.el7_9.3.s390x as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-devel-0:2.7.5-94.el7_9.3.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-libs-0:2.7.5-94.el7_9.3.i686 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-libs-0:2.7.5-94.el7_9.3.ppc as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-libs-0:2.7.5-94.el7_9.3.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- python-libs-0:2.7.5-94.el7_9.3.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7 ELS)
- +15 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.
🔗 References (5)
- selfhttps://access.redhat.com/errata/RHSA-2026:5393
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2431368
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2431373
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_5393.json