CVE-2025-15366

Name
CVE-2025-15366
Description
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
issue-tracking https://github.com/python/cpython/issues/143921
patch https://github.com/python/cpython/pull/143922
vendor-advisory https://mail.python.org/archives/list/security-announce@python.org/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/
patch https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45
cna@python.org https://github.com/python/cpython/commit/d0921efb665aff26b378f495e5ff84f7e3fe649d
cna@python.org https://github.com/python/cpython/commit/f2cd7ef89aa8a0dcbc7283bbd39548b76f2a736a
cna@python.org https://github.com/python/cpython/commit/298182272a740ce2016aee2f54acbd0bba1944c1
cna@python.org https://github.com/python/cpython/commit/71926d943c05bde79bd2a866933103541d91b6a2

Match rules

CPE URI Source package Min version Max version
cpython >= 0 < 3.15.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
python3 edge-main 3.14.7-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
python3 3.24-main 3.14.7-r0 Natanael Copa <ncopa@alpinelinux.org> fixed