The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 21 Jan 2026 20:30:00 +0900

Type Values Removed Values Added
First Time appeared Python
Python cpython
Vendors & Products Python
Python cpython

Wed, 21 Jan 2026 07:45:00 +0900


Wed, 21 Jan 2026 07:00:00 +0900


Wed, 21 Jan 2026 06:45:00 +0900

Type Values Removed Values Added
Description The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Title IMAP command injection in user-controlled commands
Weaknesses CWE-77
References
Metrics cvssV4_0

{'score': 5.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: PSF

Published:

Updated: 2026-01-21T16:14:18.473Z

Reserved: 2025-12-30T16:06:41.731Z

Link: CVE-2025-15366

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-20T22:15:51.023

Modified: 2026-01-20T23:16:05.330

Link: CVE-2025-15366

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-01-21T20:18:55Z

Weaknesses