Skip to content
5.9 Medium

CVE-2025-15366 The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines

Description

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

Affected products and versions

Product Affected versions Fixed in
CPython 3.15 3.15.0a1 → < 3.15.0a6 3.15.0a6
CPython 3.14 3.14.0 → < 3.14.7 3.14.7
CPython 3.13 earliest → < 3.13.15 3.13.15

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE