CVE-2025-15367
Public on
Last Modified:
Description
A flaw was found in the poplib module in the Python standard library. The poplib module does not reject control characters, such as newlines, in user-controlled input passed to POP3 commands. This issue allows an attacker to inject additional commands to be executed in the POP3 server.
Statement
To exploit this issue, an attacker needs to have the privileges required to send malicious input to an application that sends POP3 commands to a server. Additionally, this flaw can allow attackers to manipulate the state of the mailbox (e.g., delete emails) 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.
Mitigation
To mitigate this vulnerability, ensure that no data passed to the poplib module contains newline or carriage return characters.
Additional Information
- This content is not included.Bugzilla 2431373: cpython: POP3 command injection in user-controlled commands
- Content from cwe.mitre.org is not included.CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
- FAQ: Frequently asked questions about CVE-2025-15367
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2025-15367
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2025-15367
Content from github.com is not included.https://github.com/python/cpython/issues/143923
Content from github.com is not included.https://github.com/python/cpython/pull/143924
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Red Hat Ceph Storage 8 | rhceph/rhceph-8-rhel9 | Fixed | RHSA-2026:5606 |
| Red Hat Enterprise Linux 10 | python3.14 | Affected | |
| Red Hat Enterprise Linux 10 | python3.12 | Fixed | This content is not included.RHSA-2026:4713 |
| Red Hat Enterprise Linux 10 | firefox | Not affected | |
| Red Hat Enterprise Linux 10.0 Extended Update Support | python3.12 | Fixed | RHSA-2026:5315 |
| Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | python | Fixed | RHSA-2026:6007 |
| Red Hat Enterprise Linux 7 | firefox | Not affected | |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | python | Fixed | RHSA-2026:5393 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | python3 | Fixed | RHSA-2026:6464 |
| Red Hat Enterprise Linux 8 | python3 | Fixed | RHSA-2026:2128 |
| Red Hat Enterprise Linux 8 | python3.12 | Fixed | RHSA-2026:4463 |
| Red Hat Enterprise Linux 8 | python3.11 | Fixed | RHSA-2026:4473 |
| 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 8.2 Advanced Update Support | python3 | Fixed | RHSA-2026:5216 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | python3 | Fixed | RHSA-2026:5221 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | python3 | Fixed | RHSA-2026:5221 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | python3 | Fixed | RHSA-2026:5215 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | python3 | Fixed | RHSA-2026:5215 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | python3 | Fixed | RHSA-2026:5215 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | python3.11 | Fixed | RHSA-2026:5152 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | python3 | Fixed | RHSA-2026:6008 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | python3.11 | Fixed | RHSA-2026:5152 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | python3 | Fixed | RHSA-2026:6008 |
| Red Hat Enterprise Linux 9 | python3.14 | Affected | |
| Red Hat Enterprise Linux 9 | python3.12 | Fixed | RHSA-2026:4165 |
| Red Hat Enterprise Linux 9 | python3.9 | Fixed | RHSA-2026:4168 |
| Red Hat Enterprise Linux 9 | python3.11 | Fixed | RHSA-2026:4216 |
| Red Hat Enterprise Linux 9 | firefox | Not affected | |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | python3.9 | Fixed | This content is not included.RHSA-2026:5219 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | python3.11 | Fixed | This content is not included.RHSA-2026:5223 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | python3.9 | Fixed | This content is not included.RHSA-2026:5225 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | python3.9 | Fixed | This content is not included.RHSA-2026:5226 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | python3.12 | Fixed | RHSA-2026:5399 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | python3.11 | Fixed | RHSA-2026:6253 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | python3.12 | Fixed | RHSA-2026:4746 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | python3.9 | Fixed | This content is not included.RHSA-2026:5218 |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-aws-cuda-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-azure-cuda-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Affected | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gcp-cuda-rhel9 | Affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/code-rhel9 | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/pluginregistry-rhel9 | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces-tech-preview/idea-rhel9 | Will not fix | |
| Red Hat Update Infrastructure 5 | rhui5/cds-rhel9 | Fixed | RHSA-2026:4943 |
| Red Hat Update Infrastructure 5 | rhui5/haproxy-rhel9 | Fixed | RHSA-2026:4943 |
| Red Hat Update Infrastructure 5 | rhui5/installer-rhel9 | Fixed | RHSA-2026:4943 |
| Red Hat Update Infrastructure 5 | rhui5/rhua-rhel9 | Fixed | RHSA-2026:4943 |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 7.1 | |
| Attack Vector | Network | |
| Attack Complexity | Low | |
| Privileges Required | Low | |
| User Interaction | None | |
| Scope | Unchanged | |
| Confidentiality Impact | Low | |
| Integrity Impact | High | |
| Availability Impact | None |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.