Vulnerability Description
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Related Weaknesses (CWE)
References
- https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b4
- https://github.com/python/cpython/issues/143921
- https://github.com/python/cpython/pull/143922
- https://mail.python.org/archives/list/[email protected]/thread/DD7C7J
FAQ
What is CVE-2025-15366?
CVE-2025-15366 is a documented vulnerability. The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
How severe is CVE-2025-15366?
CVSS scoring is not yet available for CVE-2025-15366. Check NVD for updates.
Is there a patch for CVE-2025-15366?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.