Vulnerability · CVE-2025-15366
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines.
Published Jan 20, 2026 · catalog updated Oct 16, 2026 · The imaplib module, when
Check if you run it
No confirmed exploitation is on record for CVE-2025-15366. EPSS is 0.43%. Act only if a listed version of The imaplib module, when is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (The imaplib module, when).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Unknown—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.43%
- Remediation
- Advisory link
- Affected products
- Debian:12 jython · Debian:12 pypy3 · Debian:12 python3.11 · Debian:13 jython · Debian:13 pypy3 · Debian:13 python3.13
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Debian:12 jython2.7.3+repack1-1
- Debian:12 pypy37.3.11+dfsg-2, 7.3.11+dfsg-2+deb12u1, 7.3.11+dfsg-2+deb12u2
- Debian:12 python3.113.11.2-6, 3.11.2-6+deb12u1, 3.11.2-6+deb12u2
- Debian:13 jython2.7.3+repack1-1
- Debian:13 pypy37.3.19+dfsg-2, 7.3.20+dfsg-1, 7.3.20+dfsg-2
- Debian:13 python3.133.13.11-1, 3.13.12-1, 3.13.14-1
- Debian:14 jython2.7.3+repack1-1
- Debian:14 pypy37.3.19+dfsg-2, 7.3.20+dfsg-1, 7.3.20+dfsg-2
- Debian:14 python3.133.13.11-1, 3.13.12-1, 3.13.14-1
- Debian:14 python3.140 → 3.14.7-1
How to fix CVE-2025-15366
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2025-15366. EPSS is 0.43%. Act only if a listed version of The imaplib module, when is installed.
Which versions are affected?
Compare what you have installed with 2.7.3+repack1-1, 7.3.11+dfsg-2, 7.3.11+dfsg-2+deb12u1, 7.3.11+dfsg-2+deb12u2, 3.11.2-6, 3.11.2-6+deb12u1, 3.11.2-6+deb12u2, 7.3.19+dfsg-2, 7.3.20+dfsg-1, 7.3.20+dfsg-2, 3.13.11-1, 3.13.12-1, 3.13.14-1, 0 → 3.14.7-1. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.43%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jan 20, 2026 · OpenSSF OSV / OSV Scanner
Detected
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Oct 16, 2026 · OpenSSF OSV / OSV Scanner
Fix available
python3.14 fixed in 3.14.7-1
Oct 16, 2026 · OpenSSF OSV / OSV Scanner
Fix available
python3.14 fixed in 3.14.7-1
Oct 16, 2026 · OpenSSF OSV / OSV Scanner
Updated
The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
Sources
- CVE.orgVulnerability recordCVE-2025-15366
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-15366
30-day exploitation probability 0.4%
first.org - OpenSSF OSV / OSV ScannerPackage advisoryDEBIAN-CVE-2025-15366osv.dev
References
Freshness
Last verified in this catalog Oct 16, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.