Ubuntu CVE Tracker
UBUNTU-CVE-2025-15366
Details
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.4 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python3.5 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.8 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python2.7 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python3.10 | All versions, no fix listed |
| Ubuntu:22.04:LTS | python3.11 | All versions, no fix listed |
| Ubuntu:24.04:LTS | python3.12 | All versions, no fix listed |
| Ubuntu:25.10 | python3.13 | All versions, no fix listed |
| Ubuntu:25.10 | python3.14 | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2025-15366
- https://www.cve.org/CVERecord?id=CVE-2025-15366
- https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45
- https://github.com/python/cpython/issues/143921
- https://github.com/python/cpython/pull/143922
- https://mail.python.org/archives/list/[email protected]/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/
- https://ubuntu.com/security/notices/USN-8018-1
- https://ubuntu.com/security/notices/USN-8018-2
- https://bugs.launchpad.net/bugs/2143706