CVE-2025-15366

MEDIUMPre-NVD 5.95.9
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 5.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 71% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
5.9EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 5.9Exploit: None knownExposed: 0

A fix is available — apply it.

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

CVSS v3
5.9
EG Score
5.9(medium)
EG Risk
27(Track)
EG Risk 27/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity59% × 45%
Exploitation0% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
30%
KEV
Not listed

Published

January 20, 2026

Last Modified

August 6, 2026

Advisory Details (6)

Auto-updated Jul 7, 2026
Upstream fix merged — awaiting tagged release. Sources: github_commit, github_pr.
generic

Mailman 3 [CVE-2025-15366] IMAP command injection in user-controlled commands - Security-announce - python.org

https://mail.python.org/archives/list/[email protected]/thread/DD7C7JZJYTBXMDOWKCEIEBJLBRU64OMR/
github_pr

gh-143921: Reject control characters in IMAP commands

Fix merged in python/cpython PR #143922 on 2026-01-20 — awaiting tagged release

https://github.com/python/cpython/pull/143922
generic

Reject control characters in IMAP commands · Issue #143921 · python/cpython · GitHub

https://github.com/python/cpython/issues/143921
github_commit

commit f2cd7ef89aa8 (python/cpython)

Fix landed in python/cpython commit f2cd7ef89aa8 — awaiting tagged release

https://github.com/python/cpython/commit/f2cd7ef89aa8a0dcbc7283bbd39548b76f2a736a
github_commit

commit d0921efb665a (python/cpython)

Fix landed in python/cpython commit d0921efb665a — awaiting tagged release

https://github.com/python/cpython/commit/d0921efb665aff26b378f495e5ff84f7e3fe649d
github_commit

commit 6262704b134d (python/cpython)

Fix landed in python/cpython commit 6262704b134d — awaiting tagged release

https://github.com/python/cpython/commit/6262704b134db2a4ba12e85ecfbd968534f28b45

Patch Availability(30)

Vendor / EcosystemFixed in / PatchReleasedSource
redhatrhaiis/vllm-spyre-rhel9:17782445462026-05-12redhat
redhatpython3-14-main-3.14.4-2.hum12026-04-21redhat
redhatrhaiis/model-opt-cuda-rhel9:17757498572026-04-17redhat
redhatrhaiis/vllm-cuda-rhel9:17756801922026-04-17redhat
redhatpython3-12-main-3.12.13-3.hum12026-04-17redhat
redhatrhaiis/vllm-rocm-rhel9:17756802622026-04-17redhat
redhatpython3-11-main-3.11.15-4.hum12026-04-17redhat
redhatdiscovery/discovery-ui-rhel9:17756759222026-04-09redhat
redhatpython3-0:3.6.8-21.el7_9.42026-04-02redhat
redhatpython3.11-0:3.11.7-1.el9_4.112026-03-31redhat
redhatpython-0:2.6.6-70.el6_10.22026-03-30redhat
redhatpython3-0:3.6.8-51.el8_8.132026-03-30redhat
redhatpython3-13-main-3.13.12-2.hum12026-03-27redhat
redhatrhceph/rhceph-8-rhel9:17740028672026-03-24redhat
redhatpython3.12-0:3.12.9-2.el10_0.72026-03-23redhat
redhatpython3-0:3.6.8-47.el8_6.112026-03-23redhat
redhatpython3.9-0:3.9.10-4.el9_0.92026-03-23redhat
redhatpython3.11-0:3.11.2-2.el9_2.102026-03-23redhat
redhatpython3-0:3.6.8-24.el8_2.62026-03-23redhat
redhatpython3.9-0:3.9.18-3.el9_4.112026-03-23redhat
redhatpython3.12-0:3.12.1-4.el9_4.112026-03-23redhat
redhatpython-0:2.7.5-94.el7_9.32026-03-23redhat
redhatpython3-0:3.6.8-39.el8_4.92026-03-23redhat
redhatpython3.9-0:3.9.16-1.el9_2.122026-03-23redhat
redhatpython3.9-0:3.9.21-2.el9_6.42026-03-23redhat
redhatpython3.11-0:3.11.2-2.el8_8.82026-03-19redhat
redhatrhui5/rhua-rhel9:17736701372026-03-18redhat
redhatpython3.12-0:3.12.12-3.el10_1.12026-03-17redhat
redhatpython3.12-0:3.12.9-1.el9_6.62026-03-17redhat
redhatpython3.12-0:3.12.12-3.el8_102026-03-12redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(14 across 4 ecosystems)
Debian:11(4)
PackageVulnerable rangeFixed inDependents
jython2.7.2+repack1-3, 2.7.2+repack1-4, 2.7.2+repack1-5, 2.7.3+repack1-1
pypy37.3.10+dfsg-1 ... 7.3.9+dfsg-5 (53 versions)
python2.72.7.18-10 ... 2.7.18-9 (10 versions)
python3.93.9.2-1, 3.9.2-1+deb11u1, 3.9.2-1+deb11u2, 3.9.2-1+deb11u3, 3.9.2-1+deb11u43.9.2-1+deb11u5
Debian:14(4)
PackageVulnerable rangeFixed inDependents
jython2.7.3+repack1-1
pypy37.3.19+dfsg-2 ... 7.3.23+dfsg-1 (11 versions)
python3.133.13.11-1 ... 3.13.9-1 (8 versions)
python3.143.14.0-1 ... 3.14.6-1 (24 versions)
Debian:12(3)
PackageVulnerable rangeFixed inDependents
jython2.7.3+repack1-1
pypy37.3.11+dfsg-2 ... 7.3.23+dfsg-1 (29 versions)
python3.113.11.2-6 ... 3.11.9-1 (28 versions)
Debian:13(3)
PackageVulnerable rangeFixed inDependents
jython2.7.3+repack1-1
pypy37.3.19+dfsg-2 ... 7.3.23+dfsg-1 (11 versions)
python3.133.13.11-1 ... 3.13.9-1 (12 versions)

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(15)

Data Freshness Timeline

(refreshed 8× in last 7d / 54× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 189 total refreshes for this CVE.

  1. 2026-08-31 06:19 UTCOSV refresh
  2. 2026-08-30 19:16 UTCEPSS rescore
  3. 2026-08-30 01:21 UTCEPSS rescore
  4. 2026-08-28 21:40 UTCEPSS rescore
  5. 2026-08-27 14:24 UTCEPSS rescore
  6. 2026-08-26 14:45 UTCEPSS rescore
  7. 2026-08-25 13:47 UTCEPSS rescore
  8. 2026-08-24 14:15 UTCEPSS rescore
  9. 2026-08-23 00:18 UTCEPSS rescore
  10. 2026-08-21 23:48 UTCEPSS rescore
  11. 2026-08-20 22:54 UTCEPSS rescore
  12. 2026-08-19 17:02 UTCEPSS rescore
  13. 2026-08-18 13:47 UTCEPSS rescore
  14. 2026-08-17 13:46 UTCEPSS rescore
  15. 2026-08-16 14:55 UTCEPSS rescore
  16. 2026-08-16 02:13 UTCEPSS rescore
  17. 2026-08-16 02:13 UTCEPSS rescore
  18. 2026-08-15 01:29 UTCEPSS rescore
  19. 2026-08-14 13:26 UTCEG score recompute
  20. 2026-08-14 13:26 UTCVendor advisory
  21. 2026-08-14 13:26 UTCGHSA enrichment
  22. 2026-08-13 21:59 UTCEPSS rescore
  23. 2026-08-12 13:49 UTCEPSS rescore
  24. 2026-08-11 13:41 UTCEPSS rescore
  25. 2026-08-10 23:59 UTCEPSS rescore
Show 75 more
  1. 2026-08-09 19:07 UTCEG score recompute
  2. 2026-08-09 19:07 UTCVendor advisory
  3. 2026-08-09 19:07 UTCGHSA enrichment
  4. 2026-08-09 13:45 UTCEPSS rescore
  5. 2026-08-08 00:09 UTCEG score recompute
  6. 2026-08-08 00:09 UTCVendor advisory
  7. 2026-08-08 00:09 UTCGHSA enrichment
  8. 2026-08-07 16:26 UTCEPSS rescore
  9. 2026-08-06 13:45 UTCEPSS rescore
  10. 2026-08-06 01:21 UTCEG score recompute
  11. 2026-08-06 01:21 UTCVendor advisory
  12. 2026-08-06 01:21 UTCGHSA enrichment
  13. 2026-08-06 00:50 UTCEG score recompute
  14. 2026-08-06 00:50 UTCVendor advisory
  15. 2026-08-06 00:50 UTCGHSA enrichment
  16. 2026-08-05 19:16 UTCEPSS rescore
  17. 2026-08-05 14:28 UTCEG score recompute
  18. 2026-08-05 14:28 UTCVendor advisory
  19. 2026-08-05 14:28 UTCGHSA enrichment
  20. 2026-08-05 13:54 UTCEG score recompute
  21. 2026-08-05 13:54 UTCVendor advisory
  22. 2026-08-05 13:54 UTCGHSA enrichment
  23. 2026-08-04 15:09 UTCEPSS rescore
  24. 2026-08-04 10:37 UTCEPSS rescore
  25. 2026-08-03 10:35 UTCEPSS rescore
  26. 2026-08-02 22:44 UTCEG score recompute
  27. 2026-08-02 22:44 UTCVendor advisory
  28. 2026-08-02 22:44 UTCGHSA enrichment
  29. 2026-08-02 02:25 UTCEPSS rescore
  30. 2026-08-01 04:14 UTCEPSS rescore
  31. 2026-07-31 21:42 UTCOSV refresh
  32. 2026-07-30 16:26 UTCEPSS rescore
  33. 2026-07-30 01:29 UTCEPSS rescore
  34. 2026-07-28 15:35 UTCEPSS rescore
  35. 2026-07-27 14:12 UTCEPSS rescore
  36. 2026-07-26 14:53 UTCEPSS rescore
  37. 2026-07-25 14:17 UTCEPSS rescore
  38. 2026-07-24 14:16 UTCEPSS rescore
  39. 2026-07-23 14:17 UTCEPSS rescore
  40. 2026-07-23 02:49 UTCEG score recompute
  41. 2026-07-22 14:07 UTCEPSS rescore
  42. 2026-07-22 14:07 UTCEPSS rescore
  43. 2026-07-21 15:24 UTCEPSS rescore
  44. 2026-07-19 14:30 UTCEPSS rescore
  45. 2026-07-19 14:30 UTCEPSS rescore
  46. 2026-07-19 02:28 UTCEPSS rescore
  47. 2026-07-19 02:28 UTCEPSS rescore
  48. 2026-07-18 10:03 UTCEPSS rescore
  49. 2026-07-16 17:02 UTCEPSS rescore
  50. 2026-07-16 17:02 UTCEPSS rescore
  51. 2026-07-15 16:57 UTCEPSS rescore
  52. 2026-07-15 16:57 UTCEPSS rescore
  53. 2026-07-15 01:59 UTCEPSS rescore
  54. 2026-07-15 01:59 UTCEPSS rescore
  55. 2026-07-14 04:55 UTCOSV refresh
  56. 2026-07-13 22:29 UTCEPSS rescore
  57. 2026-07-13 22:29 UTCEPSS rescore
  58. 2026-07-13 06:12 UTCEPSS rescore
  59. 2026-07-12 05:46 UTCEPSS rescore
  60. 2026-07-12 05:45 UTCEPSS rescore
  61. 2026-07-11 08:26 UTCEPSS rescore
  62. 2026-07-11 08:26 UTCEPSS rescore
  63. 2026-07-09 19:09 UTCEPSS rescore
  64. 2026-07-08 15:14 UTCEPSS rescore
  65. 2026-07-07 13:45 UTCEPSS rescore
  66. 2026-07-06 16:26 UTCEPSS rescore
  67. 2026-07-06 02:22 UTCEPSS rescore
  68. 2026-07-06 02:22 UTCEPSS rescore
  69. 2026-07-05 02:30 UTCEPSS rescore
  70. 2026-07-04 06:30 UTCEPSS rescore
  71. 2026-07-01 15:06 UTCEPSS rescore
  72. 2026-06-30 23:21 UTCEPSS rescore
  73. 2026-06-29 14:06 UTCEPSS rescore
  74. 2026-06-28 14:07 UTCEPSS rescore
  75. 2026-06-28 14:07 UTCEPSS rescore

Frequently asked(5)

What is CVE-2025-15366?
CVE-2025-15366 is a medium vulnerability published on January 20, 2026. The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.
When was CVE-2025-15366 disclosed?
CVE-2025-15366 was first published in the National Vulnerability Database on January 20, 2026, with the most recent update on August 6, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2025-15366 actively exploited?
CVE-2025-15366 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 69.7% of all scored CVEs.
What is the CVSS score of CVE-2025-15366?
CVE-2025-15366 has a CVSS v3 base score of 5.9 (NVD).
How do I remediate CVE-2025-15366?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2025-15366, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-15366

Explore →

Is Your Infrastructure Affected by CVE-2025-15366?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.