CVE-2025-15366
MEDIUM EPSS 23.2%
Published Jan 20, 20265mo ago · Modified Jun 17, 20262w ago
5.9 CVSS 4.0
Published Jan 20, 2026 5mo ago
Last Modified Jun 17, 2026 2w ago
Description
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Network
Attack Complexity Low
Privileges Required High
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
23.2% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-77 Command Injection Injection
References 4
- github.com https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45
- github.com https://github.com/python/cpython/issues/143921
- github.com https://github.com/python/cpython/pull/143922
- mail.python.org https://mail.python.org/archives/list/security-announce@python.org/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.