Vulnerability
CVE-2025-15366
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
99 advisories report this vulnerability, across 13 ecosystems.
Advisories in Wolfi
- CGA-22c2-ggw2-x8c7
- CGA-232h-86ff-rxm7
- CGA-26q2-45f4-w2r3
- CGA-28qc-w9ph-8hcp
- CGA-3wf5-mc2v-3252
- CGA-5jmx-v33j-c9v4
- CGA-fqhc-w2gg-fx34
- CGA-g97j-hvj9-46w3
- CGA-rwm4-x7jf-4cgx
- CGA-rxwq-r3v4-5ccw
References
- https://github.com/python/cpython/commit/298182272a740ce2016aee2f54acbd0bba1944c1
- https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45
- https://github.com/python/cpython/commit/71926d943c05bde79bd2a866933103541d91b6a2
- https://github.com/python/cpython/commit/d0921efb665aff26b378f495e5ff84f7e3fe649d
- https://github.com/python/cpython/commit/f2cd7ef89aa8a0dcbc7283bbd39548b76f2a736a
- https://github.com/python/cpython/issues/143921
- https://github.com/python/cpython/pull/143922
- https://mail.python.org/archives/list/[email protected]/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/