The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
{
"cwe_ids": [
"CWE-77"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15366.json",
"cna_assigner": "PSF"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.13.15"
},
{
"introduced": "3.14.0"
},
{
"fixed": "3.14.7"
},
{
"introduced": "3.15.0a1"
},
{
"fixed": "3.15.0a6"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}