cve.bz

CVE-2026-0865 python software foundation cpython: Injection

5.9 mediumEPSS 0.6%

Medium (5.9) in python software foundation cpython. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
User-controlled header names and values containing newlines can allow injecting HTTP headers.

Severity

CVSS 4.0

5.9 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-01-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-0865 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-0865?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-0865?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-2026-0865 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Software Foundation CPythonbefore 3.10.20
Python Software Foundation CPythonfrom 3.11.0 before 3.11.15
Python Software Foundation CPythonfrom 3.12.0 before 3.12.13
Python Software Foundation CPythonfrom 3.13.0 before 3.13.12
Python Software Foundation CPythonfrom 3.14.0 before 3.14.3
Python Software Foundation CPythonfrom 3.15.0a1 before 3.15.0a6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python3.93.9.2-1+deb11u5DLA-4455-1
Debian12python3.113.11.2-6+deb12u7DEBIAN-CVE-2026-0865
Debian12, 13pypy3, jythonno fix listedDEBIAN-CVE-2026-0865
Debian13python3.133.13.5-2+deb13u1DEBIAN-CVE-2026-0865
Debian14jython2.7.4-1DEBIAN-CVE-2026-0865
Debian14pypy37.3.21+dfsg-1DEBIAN-CVE-2026-0865
Debian14python3.143.14.3-1DEBIAN-CVE-2026-0865
Ubuntu22.04:LTSpython3.103.10.12-1~22.04.14UBUNTU-CVE-2026-0865
Ubuntu24.04:LTSpython3.123.12.3-1ubuntu0.11UBUNTU-CVE-2026-0865
Ubuntu25.10python3.133.13.7-1ubuntu0.3UBUNTU-CVE-2026-0865
Ubuntu25.10python3.143.14.0-1ubuntu0.2UBUNTU-CVE-2026-0865
UbuntuPro:14.04:LTSpython2.72.7.6-8ubuntu0.6+esm29UBUNTU-CVE-2026-0865
UbuntuPro:14.04:LTSpython3.43.4.3-1ubuntu1~14.04.7+esm19UBUNTU-CVE-2026-0865
UbuntuPro:14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1+esm9UBUNTU-CVE-2026-0865
UbuntuPro:16.04:LTSpython2.72.7.12-1ubuntu0~16.04.18+esm19UBUNTU-CVE-2026-0865
UbuntuPro:16.04:LTSpython3.53.5.2-2ubuntu0~16.04.13+esm21UBUNTU-CVE-2026-0865
UbuntuPro:18.04:LTSpython2.72.7.17-1~18.04ubuntu1.13+esm14UBUNTU-CVE-2026-0865
UbuntuPro:18.04:LTSpython3.63.6.9-1~18.04ubuntu1.13+esm8UBUNTU-CVE-2026-0865
UbuntuPro:18.04:LTSpython3.73.7.5-2ubuntu1~18.04.2+esm9UBUNTU-CVE-2026-0865
5 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreampython3-idle, python3-test, platform-python and 5 more0:3.6.8-73.el8_10RHSA-2026:2128
Red Hatenterprise_linux:8::appstreampython3.11, python3.11-libs, python3.11-devel and 4 more0:3.11.13-5.el8_10RHSA-2026:4473
Red Hatenterprise_linux:8::appstreampython3.12, python3.12-libs, python3.12-devel and 4 more0:3.12.12-3.el8_10RHSA-2026:4463
Red Hatenterprise_linux:8::baseospython3, python3-libs, python3-test and 3 more0:3.6.8-73.el8_10RHSA-2026:2128
Red Hatenterprise_linux:8::crbpython3.11, python3.11-idle, python3.11-test and 4 more0:3.11.13-5.el8_10RHSA-2026:4473
Red Hatenterprise_linux:8::crbpython3.12, python3.12-idle, python3.12-test and 4 more0:3.12.12-3.el8_10RHSA-2026:4463
Red Hatenterprise_linux:9::appstreampython3-devel, python3-tkinter, python3.9-debuginfo and 2 more0:3.9.25-3.el9_7.1RHSA-2026:4168
Red Hatenterprise_linux:9::appstreampython3-devel, python3-tkinter, python3.9-debuginfo and 2 more0:3.9.25-5.el9_8RHSA-2026:18693
Red Hatenterprise_linux:9::appstreampython3.11, python3.11-libs, python3.11-devel and 3 more0:3.11.13-7.el9_8RHSA-2026:18957
Red Hatenterprise_linux:9::appstreampython3.12, python3.12-libs, python3.12-devel and 3 more0:3.12.12-6.el9_8RHSA-2026:18958
Red Hatenterprise_linux:9::appstreampython3.14, python3.14-libs, python3.14-devel and 3 more0:3.14.4-2.el9_8RHSA-2026:19176
Red Hatenterprise_linux:9::baseospython3, python3.9, python3-libs and 2 more0:3.9.25-3.el9_7.1RHSA-2026:4168
14 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux 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 morepython3, python3-core3.6.15-150300.10.106.1SUSE-SU-2026:0664-1
SUSELinux 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 morepython311, python311-core, python311-documentation3.11.14-150400.9.75.1SUSE-SU-2026:0693-1
SUSELinux 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 morepython311, python311-core, python311-documentation3.11.15-150400.9.80.1SUSE-SU-2026:1117-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morepython310, python310-core3.10.19-150400.4.97.1SUSE-SU-2026:0613-1
SUSELinux Enterprise Module for Basesystem 15 SP7python311-core3.11.14-150600.3.44.1SUSE-SU-2026:0767-1
SUSELinux Enterprise Module for Basesystem 15 SP7python311-core3.11.15-150600.3.53.1SUSE-SU-2026:1349-1
SUSELinux Enterprise Module for Development Tools 15 SP7python3-core3.6.15-150300.10.106.1SUSE-SU-2026:0664-1
SUSELinux Enterprise Module for Package Hub 15 SP7python, python-base2.7.18-150000.102.1SUSE-SU-2026:0590-1
SUSELinux Enterprise Module for Public Cloud 15 SP4python311, python311-core3.11.14-150400.9.75.1SUSE-SU-2026:0693-1
SUSELinux Enterprise Module for Public Cloud 15 SP4python311, python311-core3.11.15-150400.9.80.1SUSE-SU-2026:1117-1
SUSELinux Enterprise Module for Python 3 15 SP7python313, python313-core3.13.12-150700.4.39.1SUSE-SU-2026:0642-1
SUSELinux Enterprise Module for Python 3 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python311, python311-core3.11.14-150600.3.44.1SUSE-SU-2026:0767-1
12 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6python, python-doc, python-base2.7.18-150000.102.1SUSE-SU-2026:0590-1
openSUSELeap 15.6python3, python3-core, python3-documentation3.6.15-150300.10.106.1SUSE-SU-2026:0664-1
openSUSELeap 15.6python310, python310-core, python310-documentation3.10.19-150400.4.97.1SUSE-SU-2026:0613-1
openSUSELeap 15.6python311, python311-core, python311-documentation3.11.14-150600.3.44.1SUSE-SU-2026:0767-1
openSUSELeap 15.6python311, python311-core, python311-documentation3.11.15-150600.3.53.1SUSE-SU-2026:1349-1
openSUSELeap 15.6python312, python312-core, python312-documentation3.12.12-150600.3.43.1SUSE-SU-2026:0644-1
openSUSELeap 15.6python39, python39-core, python39-documentation3.9.25-150300.4.93.1SUSE-SU-2026:0643-1
openSUSELeap 16.0python313, python313-core, python313-nogil and 2 more3.13.12-160000.1.1openSUSE-SU-2026:20254-1
openSUSETumbleweedpython3103.10.19-4.1openSUSE-SU-2026:10200-1
openSUSETumbleweedpython3113.11.14-4.1openSUSE-SU-2026:10221-1
openSUSETumbleweedpython3123.12.12-5.1openSUSE-SU-2026:10222-1
openSUSETumbleweedpython3133.13.12-1.1openSUSE-SU-2026:10223-1
2 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8python3-idle, python3-libs, python3-test and 4 more3.6.8-73.el8_10.alma.1ALSA-2026:2128
AlmaLinux8python3.11, python3.11-idle, python3.11-libs and 5 more3.11.13-5.el8_10ALSA-2026:4473
AlmaLinux8python3.12, python3.12-idle, python3.12-libs and 5 more3.12.12-3.el8_10ALSA-2026:4463
AlmaLinux9python3, python3-idle, python3-libs and 5 more3.9.25-3.el9_7.1ALSA-2026:4168
AlmaLinux9python3.14, python3.14-idle, python3.14-libs and 11 more3.14.4-2.el9_8ALSA-2026:19176
AlmaLinux10python-unversioned-command3.12.12-3.el10_1.1ALSA-2026:4713
AlmaLinux10python3.14, python3.14-idle, python3.14-libs and 11 more3.14.4-2.el10_2ALSA-2026:19019
Rocky Linux8python30:3.6.8-73.el8_10.rocky.0RLSA-2026:2128
Rocky Linux8python3.110:3.11.13-5.el8_10RLSA-2026:4473
Rocky Linux8python3.120:3.12.12-3.el8_10RLSA-2026:4463
Rocky Linux9python3.140:3.14.4-2.el9_8RLSA-2026:19176
Rocky Linux9python3.90:3.9.25-3.el9_7.1RLSA-2026:4168
Rocky Linux10python3.120:3.12.12-3.el10_1.1RLSA-2026:4713
Rocky Linux10python3.140:3.14.4-2.el10_2RLSA-2026:19019
Azure Linux2python33.9.19-19AZL-75053
Azure Linux3docbook5-style-xslno fix listedAZL-84272
Azure Linux3python33.12.9-8AZL-75032
Alpaquita23python33.11.13-r3BELL-CVE-2026-0865
Alpaquita25python33.12.12-r2BELL-CVE-2026-0865
Alpaquitastreampython33.12.12-r3BELL-CVE-2026-0865
BellSoft Hardened Containers23python33.11.13-r3BELL-CVE-2026-0865
BellSoft Hardened Containers25python33.12.12-r2BELL-CVE-2026-0865
BellSoft Hardened Containersstreampython33.12.12-r3BELL-CVE-2026-0865

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; 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 · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10python3.12-0:3.12.12-3.el10_1.1Fixed 2026-03-17RHSA-2026:4713
Red Hat Enterprise Linux 10python3.14-0:3.14.4-2.el10_2Fixed 2026-05-19RHSA-2026:19019
Red Hat Enterprise Linux 8python3-0:3.6.8-73.el8_10Fixed 2026-02-05RHSA-2026:2128
Red Hat Enterprise Linux 8python3.12-0:3.12.12-3.el8_10Fixed 2026-03-12RHSA-2026:4463
Red Hat Enterprise Linux 8python3.11-0:3.11.13-5.el8_10Fixed 2026-03-12RHSA-2026:4473
Red Hat Enterprise Linux 9python3.9-0:3.9.25-5.el9_8Fixed 2026-05-19RHSA-2026:18693
Red Hat Enterprise Linux 9python3.11-0:3.11.13-7.el9_8Fixed 2026-05-19RHSA-2026:18957
Red Hat Enterprise Linux 9python3.12-0:3.12.12-6.el9_8Fixed 2026-05-19RHSA-2026:18958
Red Hat Enterprise Linux 9python3.14-0:3.14.4-2.el9_8Fixed 2026-05-19RHSA-2026:19176
Red Hat Enterprise Linux 9python3.9-0:3.9.25-3.el9_7.1Fixed 2026-03-10RHSA-2026:4168
Red Hat Enterprise Linux 10firefoxFix deferred
Red Hat Enterprise Linux 6pythonFix deferred
Red Hat Enterprise Linux 7firefoxFix deferred
Red Hat Enterprise Linux 7pythonFix deferred
Red Hat Enterprise Linux 7python3Fix deferred
Red Hat Enterprise Linux 8firefoxFix deferred
Red Hat Enterprise Linux 8python36:3.6/python36Fix deferred
Red Hat Enterprise Linux 8python39-devel:3.9/python39Fix deferred
Red Hat Enterprise Linux 9firefoxFix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9Fix deferred
20 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-2026-0865.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON