CVSS 4.0
5.9 mediumCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:NMedium (5.9) in python software foundation cpython. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:NExplain CVE-2025-15366 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-15366?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-15366?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-15366 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Python Software Foundation CPython | before 3.13.15 |
| Python Software Foundation CPython | from 3.14.0 before 3.14.7 |
| Python Software Foundation CPython | from 3.15.0a1 before 3.15.0a6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | pypy3, jython, python3.11 | no fix listed | DEBIAN-CVE-2025-15366 |
| Debian | 13 | pypy3, jython, python3.13 | no fix listed | DEBIAN-CVE-2025-15366 |
| Debian | 14 | jython | 2.7.4-1 | DEBIAN-CVE-2025-15366 |
| Debian | 14 | pypy3 | no fix listed | DEBIAN-CVE-2025-15366 |
| Debian | 14 | python3.14 | 3.14.7-1 | DEBIAN-CVE-2025-15366 |
| Ubuntu | 22.04:LTS | python2.7, python3.10, python3.11 | no fix listed | UBUNTU-CVE-2025-15366 |
| Ubuntu | 24.04:LTS | python3.12 | no fix listed | UBUNTU-CVE-2025-15366 |
| Ubuntu | 25.10 | python3.13, python3.14 | no fix listed | UBUNTU-CVE-2025-15366 |
| Ubuntu | Pro:14.04:LTS | python2.7, python3.4, python3.5 | no fix listed | UBUNTU-CVE-2025-15366 |
| Ubuntu | Pro:16.04:LTS | python2.7, python3.5 | no fix listed | UBUNTU-CVE-2025-15366 |
| Ubuntu | Pro:18.04:LTS | python2.7, python3.6, python3.7 and 1 more | no fix listed | UBUNTU-CVE-2025-15366 |
| Ubuntu | Pro:20.04:LTS | python2.7, python3.8, python3.9 | no fix listed | UBUNTU-CVE-2025-15366 |
| Red Hat | enterprise_linux:8::appstream | python3-idle, python3-test, platform-python and 5 more | 0:3.6.8-73.el8_10 | RHSA-2026:2128 |
| Red Hat | enterprise_linux:8::appstream | python3.11, python3.11-libs, python3.11-devel and 4 more | 0:3.11.13-5.el8_10 | RHSA-2026:4473 |
| Red Hat | enterprise_linux:8::appstream | python3.12, python3.12-libs, python3.12-devel and 4 more | 0:3.12.12-3.el8_10 | RHSA-2026:4463 |
| Red Hat | enterprise_linux:8::baseos | python3, python3-libs, python3-test and 3 more | 0:3.6.8-73.el8_10 | RHSA-2026:2128 |
| Red Hat | enterprise_linux:8::crb | python3.11, python3.11-idle, python3.11-test and 4 more | 0:3.11.13-5.el8_10 | RHSA-2026:4473 |
| Red Hat | enterprise_linux:8::crb | python3.12, python3.12-idle, python3.12-test and 4 more | 0:3.12.12-3.el8_10 | RHSA-2026:4463 |
| Red Hat | enterprise_linux:9::appstream | python3-devel, python3-tkinter, python3.9-debuginfo and 2 more | 0:3.9.25-3.el9_7.1 | RHSA-2026:4168 |
| Red Hat | enterprise_linux:9::appstream | python3.11, python3.11-libs, python3.11-devel and 3 more | 0:3.11.13-5.1.el9_7 | RHSA-2026:4216 |
| Red Hat | enterprise_linux:9::appstream | python3.12, python3.12-libs, python3.12-devel and 3 more | 0:3.12.12-4.el9_7.1 | RHSA-2026:4165 |
| Red Hat | enterprise_linux:9::baseos | python3, python3.9, python3-libs and 2 more | 0:3.9.25-3.el9_7.1 | RHSA-2026:4168 |
| Red Hat | enterprise_linux:9::crb | python3, python3-idle, python3-test and 4 more | 0:3.9.25-3.el9_7.1 | RHSA-2026:4168 |
| Red Hat | enterprise_linux:9::crb | python3.11, python3.11-idle, python3.11-test and 4 more | 0:3.11.13-5.1.el9_7 | RHSA-2026:4216 |
| 36 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 12 more | python3, python3-core | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | python311, python311-core, python311-documentation | 3.11.14-150400.9.75.1 | SUSE-SU-2026:0693-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 more | python310, python310-core | 3.10.19-150400.4.97.1 | SUSE-SU-2026:0613-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | python311-core | 3.11.14-150600.3.44.1 | SUSE-SU-2026:0767-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP7 | python3-core | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP7 | python, python-base | 2.7.18-150000.102.1 | SUSE-SU-2026:0590-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4 | python311, python311-core | 3.11.14-150400.9.75.1 | SUSE-SU-2026:0693-1 |
| SUSE | Linux Enterprise Module for Python 3 15 SP7 | python313, python313-core | 3.13.14-150700.4.53.1 | SUSE-SU-2026:3649-1 |
| SUSE | Linux Enterprise Module for Python 3 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6 | python311, python311-core | 3.11.14-150600.3.44.1 | SUSE-SU-2026:0767-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | python, python-doc, python-base | 2.7.18-33.63.1 | SUSE-SU-2026:0663-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | python3, python3-base | 3.4.10-25.172.1 | SUSE-SU-2026:0645-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | python36, python36-core | 3.6.15-100.1 | SUSE-SU-2026:0612-1 |
| 6 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.6 | python, python-doc, python-base | 2.7.18-150000.102.1 | SUSE-SU-2026:0590-1 |
| openSUSE | Leap 15.6 | python3, python3-core, python3-documentation | 3.6.15-150300.10.106.1 | SUSE-SU-2026:0664-1 |
| openSUSE | Leap 15.6 | python310, python310-core, python310-documentation | 3.10.19-150400.4.97.1 | SUSE-SU-2026:0613-1 |
| openSUSE | Leap 15.6 | python311, python311-core, python311-documentation | 3.11.14-150600.3.44.1 | SUSE-SU-2026:0767-1 |
| openSUSE | Leap 15.6 | python312, python312-core, python312-documentation | 3.12.12-150600.3.43.1 | SUSE-SU-2026:0644-1 |
| openSUSE | Leap 15.6 | python39, python39-core, python39-documentation | 3.9.25-150300.4.93.1 | SUSE-SU-2026:0643-1 |
| openSUSE | Leap 16.0 | python313, python313-core, python313-nogil and 2 more | 3.13.14-160000.2.1 | openSUSE-SU-2026:21595-1 |
| openSUSE | Tumbleweed | python310 | 3.10.19-4.1 | openSUSE-SU-2026:10200-1 |
| openSUSE | Tumbleweed | python311 | 3.11.14-4.1 | openSUSE-SU-2026:10221-1 |
| openSUSE | Tumbleweed | python312 | 3.12.12-5.1 | openSUSE-SU-2026:10222-1 |
| openSUSE | Tumbleweed | python313 | 3.13.14-1.1 | openSUSE-SU-2026:11342-1 |
| openSUSE | Tumbleweed | python314 | 3.14.3-1.1 | openSUSE-SU-2026:10206-1 |
| 1 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | python3-idle, python3-libs, python3-test and 4 more | 3.6.8-73.el8_10.alma.1 | ALSA-2026:2128 |
| AlmaLinux | 8 | python3.11, python3.11-idle, python3.11-libs and 5 more | 3.11.13-5.el8_10 | ALSA-2026:4473 |
| AlmaLinux | 8 | python3.12, python3.12-idle, python3.12-libs and 5 more | 3.12.12-3.el8_10 | ALSA-2026:4463 |
| AlmaLinux | 9 | python3, python3-idle, python3-libs and 5 more | 3.9.25-3.el9_7.1 | ALSA-2026:4168 |
| AlmaLinux | 9 | python3.11, python3.11-idle, python3.11-libs and 4 more | 3.11.13-5.1.el9_7 | ALSA-2026:4216 |
| AlmaLinux | 9 | python3.12, python3.12-idle, python3.12-libs and 4 more | 3.12.12-4.el9_7.1 | ALSA-2026:4165 |
| AlmaLinux | 10 | python-unversioned-command | 3.12.12-3.el10_1.1 | ALSA-2026:4713 |
| Rocky Linux | 8 | python3 | 0:3.6.8-73.el8_10.rocky.0 | RLSA-2026:2128 |
| Rocky Linux | 8 | python3.11 | 0:3.11.13-5.el8_10 | RLSA-2026:4473 |
| Rocky Linux | 8 | python3.12 | 0:3.12.12-3.el8_10 | RLSA-2026:4463 |
| Rocky Linux | 9 | python3.11 | 0:3.11.13-5.1.el9_7 | RLSA-2026:4216 |
| Rocky Linux | 9 | python3.12 | 0:3.12.12-4.el9_7.1 | RLSA-2026:4165 |
| Rocky Linux | 9 | python3.9 | 0:3.9.25-3.el9_7.1 | RLSA-2026:4168 |
| Rocky Linux | 10 | python3.12 | 0:3.12.12-3.el10_1.1 | RLSA-2026:4713 |
| Alpine | v3.24 | python3 | 3.14.7-r0 | ALPINE-CVE-2025-15366 |
| Azure Linux | 2 | python3 | no fix listed | AZL-75041 |
| Azure Linux | 3 | docbook5-style-xsl | no fix listed | AZL-84284 |
| Azure Linux | 3 | python3 | no fix listed | AZL-75029 |
| Alpaquita | 23 | python3 | 3.11.13-r3 | BELL-CVE-2025-15366 |
| Alpaquita | 25 | python3 | 3.12.12-r2 | BELL-CVE-2025-15366 |
| Alpaquita | stream | python3 | 3.12.12-r3 | BELL-CVE-2025-15366 |
| BellSoft Hardened Containers | 23 | python3 | 3.11.13-r3 | BELL-CVE-2025-15366 |
| BellSoft Hardened Containers | 25 | python3 | 3.12.12-r2 | BELL-CVE-2025-15366 |
| BellSoft Hardened Containers | stream | python3 | 3.12.12-r3 | BELL-CVE-2025-15366 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Moderate.
To exploit this issue, an attacker needs to have the privileges required to send malicious input to an application that sends IMAP commands to a server. Additionally, this flaw can allow attackers to manipulate the state of the mailbox (e.g., delete emails, move folders, flag messages) and to potentially read metadata or specific email content, but it does not allow arbitrary code execution or OS command injection. Due to these reasons, this issue has been rated with a moderate severity.
To mitigate this vulnerability, ensure that no data passed to the imaplib module contains newline or carriage return characters.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | python3.12-0:3.12.12-3.el10_1.1 | Fixed 2026-03-17 | RHSA-2026:4713 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | python3.12-0:3.12.9-2.el10_0.7 | Fixed 2026-03-23 | RHSA-2026:5315 |
| Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | python-0:2.6.6-70.el6_10.2 | Fixed 2026-03-30 | RHSA-2026:6007 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | python-0:2.7.5-94.el7_9.3 | Fixed 2026-03-23 | RHSA-2026:5393 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | python3-0:3.6.8-21.el7_9.4 | Fixed 2026-04-02 | RHSA-2026:6464 |
| Red Hat Enterprise Linux 8 | python3-0:3.6.8-73.el8_10 | Fixed 2026-02-05 | RHSA-2026:2128 |
| Red Hat Enterprise Linux 8 | python3.12-0:3.12.12-3.el8_10 | Fixed 2026-03-12 | RHSA-2026:4463 |
| Red Hat Enterprise Linux 8 | python3.11-0:3.11.13-5.el8_10 | Fixed 2026-03-12 | RHSA-2026:4473 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | python3-0:3.6.8-24.el8_2.6 | Fixed 2026-03-23 | RHSA-2026:5216 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | python3-0:3.6.8-39.el8_4.9 | Fixed 2026-03-23 | RHSA-2026:5221 |
| Red Hat Enterprise Linux 10 | firefox | Not affected | |
| Red Hat Enterprise Linux 10 | python3.14 | Affected | |
| Red Hat Enterprise Linux 7 | firefox | Not affected | |
| Red Hat Enterprise Linux 8 | firefox | Not affected | |
| Red Hat Enterprise Linux 8 | python36:3.6/python36 | Not affected | |
| Red Hat Enterprise Linux 8 | python39-devel:3.9/python39 | Not affected | |
| Red Hat Enterprise Linux 9 | firefox | Not affected | |
| Red Hat Enterprise Linux 9 | python3.14 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-aws-cuda-rhel9 | Will not fix | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-azure-cuda-rhel9 | Will not fix | |
| 40 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-15366.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.