CVE-2025-15366
IMAP command injection in user-controlled commands
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
| CWE | CWE-77 |
| Vendor | python software foundation |
| Product | cpython |
| Published | Jan 20, 2026 |
| Last Updated | Feb 26, 2026 |
Stay Ahead of the Next One
Get instant alerts for python software foundation cpython
Be the first to know when new unknown vulnerabilities affecting python software foundation cpython are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Python Software Foundation / CPython
0 < 3.15.0a6
References
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/[email protected]/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/ github.com: https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45
Credits
๐ Omar M. Hasan