The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
CVE-2025-15366
This medium-severity CVE scores 5.9 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 72% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.9
- EG Score
- 5.9(medium)
- EPSS
- 28.2%
- KEV
- Not listed
Published
January 20, 2026
Last Modified
July 9, 2026
Advisory Details (6)
Auto-updated Jul 7, 2026Mailman 3 [CVE-2025-15366] IMAP command injection in user-controlled commands - Security-announce - python.org
https://mail.python.org/archives/list/[email protected]/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/gh-143921: Reject control characters in IMAP commands
Fix merged in python/cpython PR #143922 on 2026-01-20 — awaiting tagged release
https://github.com/python/cpython/pull/143922Reject control characters in IMAP commands · Issue #143921 · python/cpython · GitHub
https://github.com/python/cpython/issues/143921commit f2cd7ef89aa8 (python/cpython)
Fix landed in python/cpython commit f2cd7ef89aa8 — awaiting tagged release
https://github.com/python/cpython/commit/f2cd7ef89aa8a0dcbc7283bbd39548b76f2a736acommit d0921efb665a (python/cpython)
Fix landed in python/cpython commit d0921efb665a — awaiting tagged release
https://github.com/python/cpython/commit/d0921efb665aff26b378f495e5ff84f7e3fe649dcommit 6262704b134d (python/cpython)
Fix landed in python/cpython commit 6262704b134d — awaiting tagged release
https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45Vendor Advisories for CVE-2025-15366(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:16174Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.3.3 (Spyre)
- RHSA-2026:9228Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:8824Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:8822Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:8748Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server Model Optimization Tools 3.3.1 (CUDA)
- RHSA-2026:8746Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.3.1 (CUDA)
- RHSA-2026:8747Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.3.1 (ROCm)
- RHSA-2026:7329Red Hat Product SecurityHigh
Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(15)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2026:2128MODERATE2026-01-20
RHSA-2026:2128 — Moderate
- Red HatRHSA-2026:4165MODERATE2026-01-20
RHSA-2026:4165 — Moderate
- Red HatRHSA-2026:4168MODERATE2026-01-20
RHSA-2026:4168 — Moderate
- Red HatRHSA-2026:4216MODERATE2026-01-20
RHSA-2026:4216 — Moderate
- Red HatRHSA-2026:4463MODERATE2026-01-20
RHSA-2026:4463 — Moderate
- Red HatRHSA-2026:4473MODERATE2026-01-20
RHSA-2026:4473 — Moderate
- Red HatRHSA-2026:4713MODERATE2026-01-20
RHSA-2026:4713 — Moderate
- Red HatRHSA-2026:4746MODERATE2026-01-20
RHSA-2026:4746 — Moderate
- Red HatRHSA-2026:4943MODERATE2026-01-20
RHSA-2026:4943 — Moderate
- Red HatRHSA-2026:5152MODERATE2026-01-20
RHSA-2026:5152 — Moderate
- Red HatRHSA-2026:5216MODERATE2026-01-20
RHSA-2026:5216 — Moderate
- Red HatRHSA-2026:5219MODERATE2026-01-20
RHSA-2026:5219 — Moderate
- Red HatRHSA-2026:5221MODERATE2026-01-20
RHSA-2026:5221 — Moderate
- Red HatRHSA-2026:5223MODERATE2026-01-20
RHSA-2026:5223 — Moderate
- Red HatRHSA-2026:5979MODERATE2026-01-20
RHSA-2026:5979 — Moderate
Data Freshness Timeline
(refreshed 15× in last 7d / 48× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 116 total refreshes for this CVE.
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-14 04:55 UTCOSV refresh
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 02:16 UTCOSV refresh
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 15:08 UTCEG score recompute▲ 5.90
- 2026-06-08 15:08 UTCVendor advisory
- 2026-06-08 15:08 UTCGHSA enrichment
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 17:57 UTCOSV refresh
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-24 16:56 UTCEPSS rescore
- 2026-05-23 15:20 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
Frequently asked(5)
What is CVE-2025-15366?
When was CVE-2025-15366 disclosed?
Is CVE-2025-15366 actively exploited?
What is the CVSS score of CVE-2025-15366?
How do I remediate CVE-2025-15366?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2025-15366
Is Your Infrastructure Affected by CVE-2025-15366?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.