CVE-2025-15366Command Injection in Software Foundation Cpython

CWE-77Command Injection10 documents8 sources
Severity
5.9MEDIUMNVD
OSV5.7
EPSS
0.1%
top 76.20%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 20
Latest updateMar 9

Description

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

CVSS 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

Affected Packages1 packages

🔴Vulnerability Details

4
OSV
python3.4, python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, python3.14 regression2026-03-09
GHSA
GHSA-4c67-8q63-xrxq: The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines2026-01-21
OSV
CVE-2025-15366: The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines2026-01-20
CVEList
IMAP command injection in user-controlled commands2026-01-20

📋Vendor Advisories

4
Ubuntu
Python regression2026-03-09
Ubuntu
Python vulnerabilities2026-02-05
Red Hat
cpython: IMAP command injection in user-controlled commands2026-01-20
Debian
CVE-2025-15366: jython - The imaplib module, when passed a user-controlled command, can have additional c...2025

🕵️Threat Intelligence

1
Wiz
CVE-2025-15366 Impact, Exploitability, and Mitigation Steps | Wiz
CVE-2025-15366 — Command Injection | cvebase