5.9

CVE-2025-15366: IMAP command injection in user-controlled commands

Deferred
AliasesALPINE-CVE-2025-15366RHSA-2026:5979UBUNTU-CVE-2025-15366
Published 20-01-2026Last modified 06-08-2026

Vulnerability summary

CVE-2025-15366 is a medium (CVSS 5.9) vulnerability in python software foundation cpython. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 37.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.43%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 51 · Related 25

Timeline

  1. 20-01-2026
    PublishedVulnerability first disclosed.
  2. 06-08-2026
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

8 scores · 8 sources · 2 versions

EPSS trend

Probability

0.43%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.42% on 05-10-2026

05-10-202604-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu12 products
  • python2.7All versions (No fix recorded)
  • python3.10All versions (No fix recorded)
  • python3.11All versions (No fix recorded)
  • python3.12All versions (No fix recorded)
  • python3.13All versions (No fix recorded)
Redhat9 products
  • python3.13< 0:3.13.12-2.hum1
  • python3.13-debug< 0:3.13.12-2.hum1
  • python3.13-devel< 0:3.13.12-2.hum1
  • python3.13-freethreading< 0:3.13.12-2.hum1
  • python3.13-freethreading-debug< 0:3.13.12-2.hum1
Chainguard6 products
  • python-3.10All versions (No fix recorded)
  • python-3.11All versions (No fix recorded)
  • python-3.12All versions (No fix recorded) | < 3.12.16-r2
  • python-3.13< 3.13.15-r0
  • python-3.14< 3.14.7-r0
Debian5 products
  • jythonAll versions (No fix recorded)
  • pypy3All versions (No fix recorded)
  • python3.11All versions (No fix recorded)
  • python3.13All versions (No fix recorded)
  • python3.14All versions (No fix recorded) | < 3.14.7-1
Wolfi5 products
  • python-3.10All versions (No fix recorded)
  • python-3.11All versions (No fix recorded)
  • python-3.12All versions (No fix recorded) | < 3.12.16-r2
  • python-3.13< 3.13.15-r0
  • python-3.14< 3.14.7-r0
Alpine1 product
  • python3< 3.14.7-r0
Python software foundation1 product
  • cpython< 3.13.15 | ≥ 3.14.0, < 3.14.7 | ≥ 3.15.0a1, < 3.15.0a6

7 vendors · 39 products

References

24 links
Show all 24 references