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.

  • Published Jan 20, 2026
  • CVSS 5.9 medium
  • 0.4% chance of exploitation in the next 30 days (EPSS)
  • A fix is available

Affected software

In the news

CVE-2025-15366 at the National Vulnerability Database