
CVE catalog
CVE-2019-9740
An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the firs
- Severity
- Medium · CVSS 6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 5.41% · Oct 25, 2026
An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the query string after a ? character) followed by an HTTP header or a Redis command. This is fixed in: v2.7.17, v2.7.17rc1, v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1, v3.5.8, v3.5.8rc1, v3.5.8rc2, v3.5.9; v3.6.10, v3.6.10rc1, v3.6.11, v3.6.11rc1, v3.6.12, v3.6.9, v3.6.9rc1; v3.7.4, v3.7.4rc1, v3.7.4rc2, v3.7.5, v3.7.5rc1, v3.7.6, v3.7.6rc1, v3.7.7, v3.7.7rc1, v3.7.8, v3.7.8rc1, v3.7.9.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | python | Not reported | 3.7.4 | fixed |
| Cpe | python | Not reported | 3.5.8 | fixed |
| Cpe | python | Not reported | 3.6.9 | fixed |
| Cpe | python | Not reported | 3.7.4 | fixed |
| Ubuntu | python2.7 | pro | 2.7.5-8ubuntu3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.5-8ubuntu4 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-2 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-2ubuntu1 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-3ubuntu1 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-4 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-4ubuntu1 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-5 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-7 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.2 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.3 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.4 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.5 | vulnerable |
| Ubuntu | python2.7 | pro | 2.7.6-8ubuntu0.6+esm2 | fixed |
| Ubuntu | python3.4 | pro | 3.4~b1-0ubuntu3 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b1-4ubuntu4 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b1-4ubuntu6 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b1-5ubuntu2 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b2-1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~b3-1ubuntu1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~rc1-1build1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~rc2-1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4~rc3-0ubuntu1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.0-1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.0-2ubuntu1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.0-2ubuntu1.1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.1 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.3 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.4 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.5 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.6 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.7 | vulnerable |
| Ubuntu | python3.4 | pro | 3.4.3-1ubuntu1~14.04.7+esm2 | fixed |
| Ubuntu | python3.5 | pro | 3.5.2-2ubuntu0~16.04.4~14.04.1 | vulnerable |
| Ubuntu | python3.5 | pro | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | fixed |
| Ubuntu | python2.7 | 16.04 | 2.7.10-4ubuntu1 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.10-4ubuntu2 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-2 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-3 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-4 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-6 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-7 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.11-7ubuntu1 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1~16.04 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.1 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.2 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.3 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.4 | vulnerable |
| Ubuntu | python2.7 | 16.04 | 2.7.12-1ubuntu0~16.04.8 | fixed |
| Ubuntu | python3.5 | 16.04 | 3.5.0-3 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.0-3ubuntu1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1~rc1-2ubuntu1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-2 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-3 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-5 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-6ubuntu1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-6ubuntu2 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-9ubuntu1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.1-10 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2~16.01 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2~16.04 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.1 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.2 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.3 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.4 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.5 | vulnerable |
| Ubuntu | python3.5 | 16.04 | 3.5.2-2ubuntu0~16.04.8 | fixed |
| Ubuntu | python2.7 | 18.04 | 2.7.14-2ubuntu2 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.14-4 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.14-6 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.14-7 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.14-8 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.15~rc1-1 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.15~rc1-1ubuntu0.1 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.15-4ubuntu4~18.04 | vulnerable |
| Ubuntu | python2.7 | 18.04 | 2.7.15-4ubuntu4~18.04.1 | fixed |
| Ubuntu | python3.6 | 18.04 | 3.6.3-1ubuntu1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4~rc1-1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4~rc1-2 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4-1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4-2 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4-3build1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.4-4 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.5~rc1-1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.5-3 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.6-1~18.04 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.7-1~18.04 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.8-1~18.04.1 | vulnerable |
| Ubuntu | python3.6 | 18.04 | 3.6.8-1~18.04.2 | fixed |
| Debian | python2.7 | 11 | 2.7.16-3 | fixed |
| Opensuse | python-CherryPy | tumbleweed | 18.10.0-4.1 | fixed |
| Opensuse | python-CherryPy | tumbleweed | 18.6.1-1.2 | fixed |
| Opensuse | python-CherryPy | tumbleweed | 18.9.0-3.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | python | cpe | Not reported | 3.7.4 | Not reported | NVD-CVE-2019-9740 | Not reported |
| Cpe | python | cpe | Not reported | 3.5.8 | Not reported | NVD-CVE-2019-9740 | Not reported |
| Cpe | python | cpe | Not reported | 3.6.9 | Not reported | NVD-CVE-2019-9740 | Not reported |
| Cpe | python | cpe | Not reported | 3.7.4 | Not reported | NVD-CVE-2019-9740 | Not reported |
| Ubuntu | python2.7 | deb | pro | 2.7.6-8ubuntu0.6+esm2 | Not reported | UBUNTU-CVE-2019-9740 | Not reported |
| Ubuntu | python3.4 | deb | pro | 3.4.3-1ubuntu1~14.04.7+esm2 | Not reported | UBUNTU-CVE-2019-9740 | Not reported |
| Ubuntu | python3.5 | deb | pro | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | Not reported | UBUNTU-CVE-2019-9740 | Not reported |
| Ubuntu | python2.7 | deb | 16.04 | 2.7.12-1ubuntu0~16.04.8 | Not reported | UBUNTU-CVE-2019-9740 | Not reported |
| Ubuntu | python3.5 | deb | 16.04 | 3.5.2-2ubuntu0~16.04.8 | Not reported | UBUNTU-CVE-2019-9740 | Not reported |
| Ubuntu | python2.7 | deb | 18.04 | 2.7.15-4ubuntu4~18.04.1 | Not reported | UBUNTU-CVE-2019-9740 | Not reported |
| Ubuntu | python3.6 | deb | 18.04 | 3.6.8-1~18.04.2 | Not reported | UBUNTU-CVE-2019-9740 | Not reported |
| Debian | python2.7 | deb | 11 | 2.7.16-3 | Not reported | DEBIAN-CVE-2019-9740 | Not reported |
| Opensuse | python-CherryPy | rpm | tumbleweed | 18.10.0-4.1 | Not reported | OPENSUSE-SU-2026:11378-1 | Not reported |
| Opensuse | python-CherryPy | rpm | tumbleweed | 18.6.1-1.2 | Not reported | OPENSUSE-SU-2024:11204-1 | Not reported |
| Opensuse | python-CherryPy | rpm | tumbleweed | 18.9.0-3.3 | Not reported | OPENSUSE-SU-2024:14128-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-CherryPy]Unknown
Source package: [python-CherryPy]
Details (1)
18.10.0-4.1· noarch · tumbleweedUnknown · Fixed:
18.10.0-4.1, 18.6.1-1.2, 18.9.0-3.3Version impact unknown
nvd · python-CherryPy · opensuse · tumbleweed
- [python314-CherryPy]Unknown
Source package: [python-CherryPy]
Details (1)
18.10.0-4.1· noarch · tumbleweedUnknown · Fixed:
18.10.0-4.1, 18.6.1-1.2, 18.9.0-3.3Version impact unknown
nvd · python-CherryPy · opensuse · tumbleweed
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-398330.json]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11378-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2019-9740]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-9740]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-9740]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11204-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14128-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11378-1]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-9740.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2019/wid-sec-w-2023-1280.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]