CVE-2025-15366
IMAP command injection in user-controlled commands
Description
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAccess VectorNetwork
AC:LAccess ComplexityLow
Impact
C:NConfidentialityNone
I:LIntegrityL
A:HAvailabilityH
Weaknesses
Affected Products
Red Hat Inc.
commercial·USaka red hat
Python Software Foundation
oss-project·USaka psf
АО «СберТех»
commercial·RUaka ao sbertech, сбертех
Exploitability
Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Execution
References
https://github.com/python/cpython/commit/298182272a740ce2016aee2f54acbd0bba1944c1
github.com
https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45
github.com
https://github.com/python/cpython/commit/71926d943c05bde79bd2a866933103541d91b6a2
github.com
and 7 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-15366 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
