# CVE-2020-26116: Other in n/a

> Attackers can inject CRLF characters into HTTP requests via the http.client module, potentially leading to request smuggling or header injection.

- **Severity:** High 7.2 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 27 Sep 2020
- **Updated:** 14 Oct 2026
- **Also known as:** BIT-libpython-2020-26116, BIT-python-2020-26116, BIT-python-min-2020-26116, CLSA-2023-1698945913, DEBIAN-CVE-2020-26116, GHSA-w7gf-rpqw-gx4f, PSF-2020-5, RHSA-2021:3366, SUSE-SU-2020:14550-1, SUSE-SU-2020:3115-1, SUSE-SU-2020:3121-1, SUSE-SU-2020:3262-1, SUSE-SU-2021:0299-1, SUSE-SU-2021:0341-1, SUSE-SU-2021:0342-1, SUSE-SU-2021:0486-1, SUSE-SU-2021:0515-1, UBUNTU-CVE-2020-26116, USN-4581-1, openSUSE-SU-2020:1859-1, openSUSE-SU-2020:1988-1

## What is CVE-2020-26116?

CVE-2020-26116 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 27 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component)

## Which versions are affected by CVE-2020-26116?

3 open source packages ship an affected version, including libpython, python and python-min. It affects 8 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `libpython` | Bitnami | From 3.0.0 | 3.5.10, 3.6.12, 3.7.9, 3.8.5 |
| `python` | Bitnami | From 3.0.0 | 3.5.10, 3.6.12, 3.7.9, 3.8.5 |
| `python-min` | Bitnami | From 3.0.0 | 3.5.10, 3.6.12, 3.7.9, 3.8.5 |
| `platform-python` | Red Hat:rhel_eus:8.2::appstream | All versions | 0:3.6.8-24.el8_2 |
| `platform-python-debug` | Red Hat:rhel_eus:8.2::appstream | All versions | 0:3.6.8-24.el8_2 |
| `platform-python-devel` | Red Hat:rhel_eus:8.2::appstream | All versions | 0:3.6.8-24.el8_2 |
| `python3-debuginfo` | Red Hat:rhel_eus:8.2::appstream | All versions | 0:3.6.8-24.el8_2 |
| `python3-debugsource` | Red Hat:rhel_eus:8.2::appstream | All versions | 0:3.6.8-24.el8_2 |
| `python3-idle` | Red Hat:rhel_eus:8.2::appstream | All versions | 0:3.6.8-24.el8_2 |
| `python3-test` | Red Hat:rhel_eus:8.2::appstream | All versions | 0:3.6.8-24.el8_2 |
| `python3-tkinter` | Red Hat:rhel_eus:8.2::appstream | All versions | 0:3.6.8-24.el8_2 |
| `platform-python` | Red Hat:rhel_eus:8.2::baseos | All versions | 0:3.6.8-24.el8_2 |
| `python3` | Red Hat:rhel_eus:8.2::baseos | All versions | 0:3.6.8-24.el8_2 |
| `python3-debuginfo` | Red Hat:rhel_eus:8.2::baseos | All versions | 0:3.6.8-24.el8_2 |
| `python3-debugsource` | Red Hat:rhel_eus:8.2::baseos | All versions | 0:3.6.8-24.el8_2 |
| `python3-libs` | Red Hat:rhel_eus:8.2::baseos | All versions | 0:3.6.8-24.el8_2 |
| `python3-test` | Red Hat:rhel_eus:8.2::baseos | All versions | 0:3.6.8-24.el8_2 |
| `python` | SUSE:Enterprise Storage 5 | All versions | 2.7.17-28.56.1 |
| `python-urllib3` | SUSE:Enterprise Storage 5 | All versions | 1.22-3.23.1 |
| `python-urllib3` | SUSE:HPE Helion OpenStack 8 | All versions | 1.22-5.15.1 |
| `python-urllib3` | SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 1.22-6.12.1 |
| `python-urllib3` | SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 1.22-6.12.1 |
| `python` | SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 2.7.17-7.44.4 |
| `python-base` | SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 2.7.17-7.44.2 |
| `python` | SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 2.7.17-7.44.4 |
| `python-base` | SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 2.7.17-7.44.2 |
| `python` | SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 | All versions | 2.7.17-7.44.4 |
| `python` | SUSE:Linux Enterprise Module for Desktop Applications 15 SP2 | All versions | 2.7.17-7.44.4 |
| `python-urllib3` | SUSE:Linux Enterprise Module for Public Cloud 12 | All versions | 1.22-3.23.1 |
| `python` | SUSE:Linux Enterprise Module for Python 2 15 SP1 | All versions | 2.7.17-7.44.4 |
| `python-base` | SUSE:Linux Enterprise Module for Python 2 15 SP1 | All versions | 2.7.17-7.44.2 |
| `python` | SUSE:Linux Enterprise Module for Python 2 15 SP2 | All versions | 2.7.17-7.44.4 |
| `python-base` | SUSE:Linux Enterprise Module for Python 2 15 SP2 | All versions | 2.7.17-7.44.2 |
| `python3` | SUSE:Linux Enterprise Module for Web and Scripting 12 | All versions | 3.4.10-25.55.1 |
| `python3-base` | SUSE:Linux Enterprise Module for Web and Scripting 12 | All versions | 3.4.10-25.55.1 |
| `python` | SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 2.6.9-40.48.1 |
| `python-base` | SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 2.6.9-40.48.1 |
| `python-doc` | SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 2.6-8.40.48.1 |
| `python` | SUSE:Linux Enterprise Server 11 SP4-LTSS | All versions | 2.6.9-40.48.1 |
| `python-base` | SUSE:Linux Enterprise Server 11 SP4-LTSS | All versions | 2.6.9-40.48.1 |

Products: Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Netapp Hci Storage Node, Netapp Solidfire, Opensuse Leap, Oracle Zfs Storage Appliance Kit, Python Python.

## How do I fix CVE-2020-26116?

Upgrade libpython to a fixed version for your release line: 3.5.10, 3.6.12, 3.7.9 or 3.8.5.

## Is CVE-2020-26116 being exploited?

There is no known exploitation of CVE-2020-26116 in the wild and no public exploit code.

## Other vulnerabilities in Canonical Ubuntu Linux

- [CVE-2020-11651](https://insights.sbomify.com/CVE-2020-11651/): SaltStack Salt Authentication Bypass (critical 9.8, exploited in the wild)
- [CVE-2020-7247](https://insights.sbomify.com/CVE-2020-7247/): OpenSMTPD Remote Code Execution (critical 9.8, exploited in the wild)
- [CVE-2019-16928](https://insights.sbomify.com/CVE-2019-16928/): Exim Out-of-bounds Write (critical 9.8, exploited in the wild)
- [CVE-2018-6789](https://insights.sbomify.com/CVE-2018-6789/): Exim Buffer Overflow (critical 9.8, exploited in the wild)
- [CVE-2015-2590](https://insights.sbomify.com/CVE-2015-2590/): Oracle Java SE and Java SE Embedded Remote Code Execution (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-26116 and fix it if it is affected.

What it is: CVE-2020-26116 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 27 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2020-26116 in the wild and no public exploit code.

Affected packages and fixed versions:
- libpython (Bitnami): affected from 3.0.0; fixed in 3.5.10, 3.6.12, 3.7.9, 3.8.5
- python (Bitnami): affected from 3.0.0; fixed in 3.5.10, 3.6.12, 3.7.9, 3.8.5
- python-min (Bitnami): affected from 3.0.0; fixed in 3.5.10, 3.6.12, 3.7.9, 3.8.5

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-26116/ (Markdown: https://insights.sbomify.com/CVE-2020-26116/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-26116
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-26116
- OSV: https://osv.dev/vulnerability/CVE-2020-26116

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-26116/
Summaries are generated and may contain mistakes; the official description above is the record.
