cve.bz

CVE-2020-26116 Injection

7.2 highExploit referenceEPSS 6.4%Fix available

High (7.2). EPSS 6.4% estimated probability of exploitation activity in the next 30 days.

On this page
http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request.

Severity

CVSS 3.1

7.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS
6.4% (unchanged from 6.4% a week ago; 6.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. 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
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

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

Badge for a README or a site

CVE-2020-26116

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2020-26116](https://cve.bz/cve/badge/CVE-2020-26116.svg)](https://cve.bz/cve/CVE-2020-26116)

HTML:

<a href="https://cve.bz/cve/CVE-2020-26116"><img src="https://cve.bz/cve/badge/CVE-2020-26116.svg" alt="CVE-2020-26116"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pythonfrom 3.0.0 before 3.5.10
python:pythonfrom 3.6.0 before 3.6.12
python:pythonfrom 3.7.0 before 3.7.9
python:pythonfrom 3.8.0 before 3.8.5
fedoraproject:fedora31
fedoraproject:fedora32
fedoraproject:fedora33
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
debian:debian_linux9.0
oracle:zfs_storage_appliance_kit8.8
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9python3.53.5.3-1+deb9u3DLA-2456-1
Debian10python2.72.7.16-2+deb10u2DLA-3432-1
Debian12, 13, 14pypy37.3.3+dfsg-1DEBIAN-CVE-2020-26116
Ubuntu16.04:LTSpython2.72.7.12-1ubuntu0~16.04.13USN-4581-1
Ubuntu16.04:LTSpython3.53.5.2-2ubuntu0~16.04.12UBUNTU-CVE-2020-26116 USN-4581-1
Ubuntu18.04:LTSpython2.72.7.17-1~18.04ubuntu1.2USN-4581-1
Ubuntu18.04:LTSpython3.63.6.9-1~18.04ubuntu1.3UBUNTU-CVE-2020-26116 USN-4581-1
Ubuntu18.04:LTSpython3.73.7.5-2~18.04.4USN-4754-3
Ubuntu18.04:LTSpython3.83.8.0-3~18.04.1USN-4754-3
Ubuntu20.04:LTSpython2.72.7.18-1~20.04.1USN-4754-3
Ubuntu20.04:LTSpython3.83.8.10-0ubuntu1~20.04.10USN-6891-1
Ubuntu22.04:LTSpython3.103.10.12-1~22.04.4USN-6891-1
UbuntuPro:14.04:LTSpython2.72.7.6-8ubuntu0.6+esm7USN-4581-1
UbuntuPro:14.04:LTSpython3.43.4.3-1ubuntu1~14.04.7+esm8UBUNTU-CVE-2020-26116 USN-4581-1
UbuntuPro:14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1+esm1UBUNTU-CVE-2020-26116 USN-6891-1
6 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationpython, tkinter, python-libs and 5 more0:2.7.5-92.el7_9RHSA-2022:5235
Red Hatenterprise_linux:7::computenodetkinter, python-test, python-debug and 2 more0:2.7.5-92.el7_9RHSA-2022:5235
Red Hatenterprise_linux:8::appstreamCython, python2-Cython, Cython-debugsource and 1 more0:0.28.1-7.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
Red Hatenterprise_linux:8::appstreamCython, python38-Cython, Cython-debugsource and 1 more0:0.29.14-4.module+el8.4.0+8888+89bc7e79RHSA-2021:1879
Red Hatenterprise_linux:8::appstreamPyYAML, python2-pyyaml, PyYAML-debugsource and 1 more0:3.12-16.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
Red Hatenterprise_linux:8::appstreamPyYAML, python38-pyyaml, PyYAML-debugsource and 1 more0:5.3.1-1.module+el8.4.0+8888+89bc7e79RHSA-2021:1879
Red Hatenterprise_linux:8::appstreambabel, python2-babel0:2.5.1-9.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
Red Hatenterprise_linux:8::appstreambabel, python38-babel0:2.7.0-10.module+el8.4.0+8888+89bc7e79RHSA-2021:1879
Red Hatenterprise_linux:8::appstreammod_wsgi, python38-mod_wsgi0:4.6.8-3.module+el8.4.0+8888+89bc7e79RHSA-2021:1879
Red Hatenterprise_linux:8::appstreamnumpy, python2-numpy, numpy-debugsource and 3 more1:1.14.2-16.module+el8.4.0+9406+221a4565RHSA-2021:1761
Red Hatenterprise_linux:8::appstreamnumpy, python38-numpy, numpy-debugsource and 3 more0:1.17.3-5.module+el8.4.0+8888+89bc7e79RHSA-2021:1879
Red Hatenterprise_linux:8::appstreampytest, python2-pytest0:3.4.2-13.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
76 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5python2.7.17-28.56.1SUSE-SU-2020:3121-1
SUSEEnterprise Storage 5, Linux Enterprise Module for Public Cloud 12, Linux Enterprise Server 12 SP5 and 3 morepython-urllib31.22-3.23.1SUSE-SU-2021:0299-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8python-urllib31.22-5.15.1SUSE-SU-2021:0515-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 3 morepython3, python3-core3.6.12-3.67.2SUSE-SU-2020:3930-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morepython-urllib31.22-6.12.1SUSE-SU-2021:0341-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Desktop Applications 15 SP1 and 3 morepython2.7.17-7.44.4SUSE-SU-2020:3115-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Python 2 15 SP1 and 1 morepython-base2.7.17-7.44.2SUSE-SU-2020:3115-1
SUSELinux Enterprise Module for Development Tools 15 SP1, Linux Enterprise Module for Development Tools 15 SP2python3-core3.6.12-3.67.2SUSE-SU-2020:3930-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 morepython3, python3-base3.4.10-25.55.1SUSE-SU-2020:3262-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSpython, python-base2.6.9-40.48.1SUSE-SU-2020:14550-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSpython-doc2.6-8.40.48.1SUSE-SU-2020:14550-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5python, python-doc, python-base2.7.17-28.56.1SUSE-SU-2020:3121-1
4 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1python, python-doc, python-base2.7.17-lp151.10.25.1openSUSE-SU-2020:1859-1
openSUSELeap 15.1python3, python3-core, python3-documentation3.6.12-lp151.6.32.1openSUSE-SU-2020:2333-1
openSUSELeap 15.2python, python-doc2.7.17-lp152.3.6.1openSUSE-SU-2020:1988-1
openSUSELeap 15.2python-base2.7.17-lp152.3.6.2openSUSE-SU-2020:1988-1
openSUSELeap 15.2python3, python3-core, python3-documentation3.6.12-lp152.4.14.1openSUSE-SU-2020:2332-1
openSUSETumbleweedpython2.7.18-9.1openSUSE-SU-2024:11551-1
openSUSETumbleweedpython363.6.15-1.1openSUSE-SU-2024:11284-1
openSUSETumbleweedpython383.8.12-1.2openSUSE-SU-2024:11285-1
AlmaLinux8python-sqlalchemy-doc1.3.2-2.module_el8.5.0+2569+5c5719bcALSA-2021:1761
AlmaLinux8python2-Cython0.28.1-7.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-PyMySQL0.8.0-10.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-attrs17.4.0-10.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-backports1.0-16.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-backports-ssl_match_hostname3.5.0.1-12.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-chardet3.0.4-10.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-coverage4.5.1-4.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-dns1.15.0-10.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-docs, python2-docs-info2.7.16-2.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-docutils0.14-12.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-funcsigs1.0.2-13.module_el8.6.0+2781+fed64c13ALSA-2021:1761
37 more for AlmaLinux in the JSON.
Rocky Linux8Cython0:0.28.1-7.module+el8.4.0+403+9ae17a31RLSA-2021:1761
Rocky Linux8Cython0:0.28.1-7.module+el8.5.0+706+735ec4b3RLSA-2021:1761
Rocky Linux8Cython0:0.29.14-4.module+el8.4.0+570+c2eaf144RLSA-2021:1879
Rocky Linux8PyYAML0:3.12-16.module+el8.4.0+403+9ae17a31RLSA-2021:1761
Rocky Linux8PyYAML0:3.12-16.module+el8.5.0+706+735ec4b3RLSA-2021:1761
Rocky Linux8PyYAML0:5.3.1-1.module+el8.4.0+570+c2eaf144RLSA-2021:1879
Rocky Linux8babel0:2.5.1-9.module+el8.4.0+403+9ae17a31RLSA-2021:1761
Rocky Linux8babel0:2.7.0-10.module+el8.4.0+570+c2eaf144RLSA-2021:1879
Rocky Linux8mod_wsgi0:4.6.8-3.module+el8.4.0+570+c2eaf144RLSA-2021:1879
Rocky Linux8numpy0:1.17.3-5.module+el8.4.0+570+c2eaf144RLSA-2021:1879
Rocky Linux8numpy1:1.14.2-16.module+el8.4.0+403+9ae17a31RLSA-2021:1761
Rocky Linux8numpy1:1.14.2-16.module+el8.5.0+706+735ec4b3RLSA-2021:1761
84 more for Rocky Linux in the JSON.

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Versions of python36:3.6/python36 as shipped with Red Hat Enterprise Linux 8 are marked as 'Not affected' as they just provide "symlinks" to the main python3 component, which provides the actual interpreter of the Python programming language.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7python-0:2.7.5-92.el7_9Fixed 2022-06-28RHSA-2022:5235
Red Hat Enterprise Linux 8python3-0:3.6.8-37.el8Fixed 2021-05-18RHSA-2021:1633
Red Hat Enterprise Linux 8python27:2.7-8040020210122160212.cdb2db54Fixed 2021-05-18RHSA-2021:1761
Red Hat Enterprise Linux 8python38:3.8-8040020210128125034.b1b639b6Fixed 2021-05-18RHSA-2021:1879
Red Hat Enterprise Linux 8.2 Extended Update Supportpython3-0:3.6.8-24.el8_2Fixed 2021-08-31RHSA-2021:3366
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-python36-python-0:3.6.12-1.el6Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-python36-python-pip-0:9.0.1-5.el6Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-python36-python-virtualenv-0:15.1.0-3.el6Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-python-0:2.7.18-2.el7Fixed 2020-10-20RHSA-2020:4273
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-python-pip-0:8.1.2-6.el7Fixed 2020-10-20RHSA-2020:4273
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-python-virtualenv-0:13.1.0-4.el7Fixed 2020-10-20RHSA-2020:4273
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python36-python-0:3.6.12-1.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python36-python-pip-0:9.0.1-5.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python36-python-virtualenv-0:15.1.0-3.el7Fixed 2020-10-19RHSA-2020:4285
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-0:3.8.6-1.el7Fixed 2020-10-20RHSA-2020:4299
Red Hat Enterprise Linux 5pythonOut of support scope
Red Hat Enterprise Linux 6pythonOut of support scope
Red Hat Enterprise Linux 7python3Will not fix
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
Red Hat Quay 3quayAffected
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-2020-26116.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

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