Vulnerability
CVE-2025-15366
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
99 advisories report this vulnerability, across 13 ecosystems.
Advisories
-
ALPINE-CVE-2025-15366
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
- ALPINE-EDGE-CVE-2025-15366
-
ALSA-2026:2128
Moderate: python3 security update
-
ALSA-2026:4165
Moderate: python3.12 security update
-
ALSA-2026:4168
Moderate: python3.9 security update
-
ALSA-2026:4216
Moderate: python3.11 security update
-
ALSA-2026:4463
Moderate: python3.12 security update
-
ALSA-2026:4473
Moderate: python3.11 security update
-
ALSA-2026:4713
Moderate: python3.12 security update
-
AZL-75029
CVE-2025-15366 affecting package python3 3.12.16-2
-
AZL-75041
CVE-2025-15366 affecting package python3 3.9.19-19
-
AZL-84284
CVE-2025-15366 affecting package docbook5-style-xsl 1.79.2-11
- CGA-22c2-ggw2-x8c7
- CGA-232h-86ff-rxm7
- CGA-26q2-45f4-w2r3
- CGA-28qc-w9ph-8hcp
- CGA-3wf5-mc2v-3252
- CGA-4x6g-cw77-rxqx
- CGA-5jmx-v33j-c9v4
- CGA-fqhc-w2gg-fx34
- CGA-g97j-hvj9-46w3
- CGA-h83p-r6v9-rp79
- CGA-rwm4-x7jf-4cgx
- CGA-rxwq-r3v4-5ccw
-
CNA-CVE-2025-15366
IMAP command injection in user-controlled commands
-
DEBIAN-CVE-2025-15366
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
-
ELSA-2026-10102
ELSA-2026-10102: python security update (MODERATE)
-
ELSA-2026-2128
ELSA-2026-2128: python3 security update (MODERATE)
-
ELSA-2026-4165
ELSA-2026-4165: python3.12 security update (MODERATE)
-
ELSA-2026-4168
ELSA-2026-4168: python3.9 security update (MODERATE)
-
ELSA-2026-4216
ELSA-2026-4216: python3.11 security update (MODERATE)
-
ELSA-2026-4463
ELSA-2026-4463: python3.12 security update (MODERATE)
-
ELSA-2026-4473
ELSA-2026-4473: python3.11 security update (MODERATE)
-
ELSA-2026-4713
ELSA-2026-4713: python3.12 security update (MODERATE)
-
ELSA-2026-5393
ELSA-2026-5393: python security update (MODERATE)
-
ELSA-2026-6007
ELSA-2026-6007: python security update (MODERATE)
-
ELSA-2026-6464
ELSA-2026-6464: python3 security update (MODERATE)
-
RHSA-2026:2128
Red Hat Security Advisory: python3 security update
-
RHSA-2026:4165
Red Hat Security Advisory: python3.12 security update
-
RHSA-2026:4168
Red Hat Security Advisory: python3.9 security update
-
RHSA-2026:4216
Red Hat Security Advisory: python3.11 security update
-
RHSA-2026:4463
Red Hat Security Advisory: python3.12 security update
-
RHSA-2026:4473
Red Hat Security Advisory: python3.11 security update
-
RHSA-2026:4713
Red Hat Security Advisory: python3.12 security update
-
RHSA-2026:4746
Red Hat Security Advisory: python3.12 security update
-
RHSA-2026:5152
Red Hat Security Advisory: python3.11 security update
-
RHSA-2026:5215
Red Hat Security Advisory: python3 security update
-
RHSA-2026:5216
Red Hat Security Advisory: python3 security update
-
RHSA-2026:5218
Red Hat Security Advisory: python3.9 security update
-
RHSA-2026:5219
Red Hat Security Advisory: python3.9 security update
-
RHSA-2026:5221
Red Hat Security Advisory: python3 security update
-
RHSA-2026:5223
Red Hat Security Advisory: python3.11 security update
-
RHSA-2026:5225
Red Hat Security Advisory: python3.9 security update
-
RHSA-2026:5226
Red Hat Security Advisory: python3.9 security update
-
RHSA-2026:5315
Red Hat Security Advisory: python3.12 security update
-
RHSA-2026:5393
Red Hat Security Advisory: python security update
-
RHSA-2026:5399
Red Hat Security Advisory: python3.12 security update
-
RHSA-2026:5979
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:6007
Red Hat Security Advisory: python security update
-
RHSA-2026:6008
Red Hat Security Advisory: python3 security update
-
RHSA-2026:6253
Red Hat Security Advisory: python3.11 security update
-
RHSA-2026:6464
Red Hat Security Advisory: python3 security update
-
RHSA-2026:8822
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:8824
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:9228
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2025-15366
cpython: IMAP command injection in user-controlled commands
-
RLSA-2026:2128
Moderate: python3 security update
-
RLSA-2026:4165
Moderate: python3.12 security update
-
RLSA-2026:4168
Moderate: python3.9 security update
-
RLSA-2026:4216
Moderate: python3.11 security update
-
RLSA-2026:4463
Moderate: python3.12 security update
-
RLSA-2026:4473
Moderate: python3.11 security update
-
RLSA-2026:4713
Moderate: python3.12 security update
-
SUSE-SU-2026:0590-1
Security update for python
-
SUSE-SU-2026:0612-1
Security update for python36
-
SUSE-SU-2026:0613-1
Security update for python310
-
SUSE-SU-2026:0643-1
Security update for python39
-
SUSE-SU-2026:0644-1
Security update for python312
-
SUSE-SU-2026:0645-1
Security update for python3
-
SUSE-SU-2026:0663-1
Security update for python
-
SUSE-SU-2026:0664-1
Security update for python3
-
SUSE-SU-2026:0693-1
Security update for python311
-
SUSE-SU-2026:0767-1
Security update for python311
-
SUSE-SU-2026:20665-1
Security update for python311
-
SUSE-SU-2026:20710-1
Security update for python311
-
SUSE-SU-2026:23159-1
Security update for python313
-
SUSE-SU-2026:23303-1
Security update for python313
-
SUSE-SU-2026:3649-1
Security update for python313
-
SUSEVEX-CVE-2025-15366
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
-
UBUNTU-CVE-2025-15366
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
-
USN-8018-1
python3.14, python3.13, python3.12, python3.11, python3.10, python3.9, python3.8, python3.7, python3.6, python3.5, python3.4 vulnerabilities
-
USN-8018-2
python3.4, python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14 regression
-
openSUSE-SU-2026:10152-1
python315-3.15.0~a3-4.1 on GA media
-
openSUSE-SU-2026:10200-1
python310-3.10.19-4.1 on GA media
-
openSUSE-SU-2026:10206-1
python314-3.14.3-1.1 on GA media
-
openSUSE-SU-2026:10221-1
python311-3.11.14-4.1 on GA media
-
openSUSE-SU-2026:10222-1
python312-3.12.12-5.1 on GA media
-
openSUSE-SU-2026:11342-1
python313-3.13.14-1.1 on GA media
-
openSUSE-SU-2026:21595-1
Security update for python313
References
- https://github.com/python/cpython/commit/298182272a740ce2016aee2f54acbd0bba1944c1
- https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45
- https://github.com/python/cpython/commit/71926d943c05bde79bd2a866933103541d91b6a2
- https://github.com/python/cpython/commit/d0921efb665aff26b378f495e5ff84f7e3fe649d
- https://github.com/python/cpython/commit/f2cd7ef89aa8a0dcbc7283bbd39548b76f2a736a
- https://github.com/python/cpython/issues/143921
- https://github.com/python/cpython/pull/143922
- https://mail.python.org/archives/list/[email protected]/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/