cve.bz

CVE-2019-9636 Improper Handling of Alternate Encoding

9.8 criticalEPSS 7.7%Fix available

Critical (9.8). EPSS 7.7% estimated probability of exploitation activity in the next 30 days.

On this page
Python 2.7.x through 2.7.16 and 3.x through 3.7.2 is affected by: Improper Handling of Unicode Encoding (with an incorrect netloc) during NFKC normalization. The impact is: Information disclosure (credentials, cookies, etc. that are cached against a given hostname). The components are: urllib.parse.urlsplit, urllib.parse.urlparse. The attack vector is: A specially crafted URL could be incorrectly parsed to locate cookies or authentication data and send that information to a different host than when parsed correctly. This is fixed in: v2.7.17, v2.7.17rc1, v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1, v3.5.7, 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.3, v3.7.3rc1, 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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
7.7% (unchanged from 7.7% a week ago; 7.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th 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: no · Technical impact: partial, assessed 2026-10-07. 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-173 Improper Handling of Alternate Encoding
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-2019-9636 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-9636?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-9636?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-2019-9636 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-2019-9636

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-2019-9636](https://cve.bz/cve/badge/CVE-2019-9636.svg)](https://cve.bz/cve/CVE-2019-9636)

HTML:

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

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pythonfrom 2.7.0 before 2.7.17
python:pythonfrom 3.0.0 before 3.4.10
python:pythonfrom 3.5.0 before 3.5.7
python:pythonfrom 3.6.0 before 3.6.9
python:pythonfrom 3.7.0 before 3.7.3
fedoraproject:fedora28
fedoraproject:fedora29
fedoraproject:fedora30
fedoraproject:fedora31
opensuse:leap15.0
opensuse:leap15.1
opensuse:leap42.3
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.04
redhat:openshift_container_platform3.11
redhat:enterprise_linux7.5
redhat:enterprise_linux8.0
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_eus7.5
redhat:enterprise_linux_eus8.1
redhat:enterprise_linux_eus8.2
redhat:enterprise_linux_eus8.4
redhat:enterprise_linux_eus8.6
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_aus8.2
redhat:enterprise_linux_server_aus8.4
redhat:enterprise_linux_server_eus5.6
redhat:enterprise_linux_server_tus7.4
redhat:enterprise_linux_server_tus8.2
redhat:enterprise_linux_server_tus8.4
redhat:enterprise_linux_server_tus8.6
redhat:enterprise_linux_workstation6.0
redhat:virtualization4.0
oracle:sun_zfs_storage_appliance_kit8.8.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8python2.72.7.9-2+deb8u3DLA-1834-1
Debian8python3.43.4.2-1+deb8u3DLA-1835-1
Debian9python2.72.7.13-2+deb9u4DLA-2337-1
Debian9python3.53.5.3-1+deb9u2DLA-2280-1
Debian11python2.72.7.16-2DEBIAN-CVE-2019-9636
Ubuntu16.04:LTSpython2.72.7.12-1ubuntu0~16.04.8UBUNTU-CVE-2019-9636 USN-4127-1
Ubuntu16.04:LTSpython3.53.5.2-2ubuntu0~16.04.8UBUNTU-CVE-2019-9636 USN-4127-1
Ubuntu18.04:LTSpython2.72.7.15-4ubuntu4~18.04.1UBUNTU-CVE-2019-9636 USN-4127-1
Ubuntu18.04:LTSpython3.63.6.8-1~18.04.2UBUNTU-CVE-2019-9636 USN-4127-1
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+esm2UBUNTU-CVE-2019-9636 USN-4127-2
UbuntuPro:14.04:LTSpython3.43.4.3-1ubuntu1~14.04.7+esm2UBUNTU-CVE-2019-9636 USN-4127-2
UbuntuPro:14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1+esm1UBUNTU-CVE-2019-9636 USN-6891-1
UbuntuPro:16.04:LTSpython3.53.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
UbuntuPro:18.04:LTSpython3.63.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
UbuntuPro:18.04:LTSpython3.73.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
3 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morepython, tkinter, python-libs and 4 more0:2.6.6-68.el6_10RHSA-2019:1467
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepython, tkinter, python-libs and 5 more0:2.7.5-77.el7_6RHSA-2019:0710
Red Hatenterprise_linux:7::hypervisorredhat-release-virtualization-host, redhat-virtualization-host-image-update-placeholder0:4.2-8.4.el7RHBA-2019:0763
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.2-20190411.1.el7_6RHBA-2019:0763
Red Hatenterprise_linux:7::hypervisorrhvm-appliance2:4.2-20190411.1.el7RHBA-2019:0764
Red Hatenterprise_linux:8::appstreamCython, python2-Cython, python2-Cython-debuginfo0:0.28.1-7.module+el8.0.0+2961+596d0223RHSA-2019:0981
Red Hatenterprise_linux:8::appstreamPyYAML, python2-pyyaml, python2-pyyaml-debuginfo0:3.12-16.module+el8.0.0+2961+596d0223RHSA-2019:0981
Red Hatenterprise_linux:8::appstreambabel, python2-babel0:2.5.1-9.module+el8.0.0+2961+596d0223RHSA-2019:0981
Red Hatenterprise_linux:8::appstreamnumpy, python2-numpy, python2-numpy-doc and 2 more1:1.14.2-10.module+el8.0.0+2961+596d0223RHSA-2019:0981
Red Hatenterprise_linux:8::appstreampytest, python2-pytest0:3.4.2-13.module+el8.0.0+2961+596d0223RHSA-2019:0981
Red Hatenterprise_linux:8::appstreampython-PyMySQL, python2-PyMySQL0:0.8.0-10.module+el8.0.0+2961+596d0223RHSA-2019:0981
Red Hatenterprise_linux:8::appstreampython-attrs, python2-attrs0:17.4.0-10.module+el8.0.0+2961+596d0223RHSA-2019:0981
45 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 13 morepython3, python3-base3.4.6-25.24.1SUSE-SU-2019:0961-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12 SP2-BCL and 8 morepython, python-doc, python-base2.7.13-28.26.1SUSE-SU-2019:1439-1
SUSEEnterprise Storage 5python2.7.13-28.26.1SUSE-SU-2019:1439-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4python, python-base2.7.13-28.26.1SUSE-SU-2019:1439-1
SUSELinux Enterprise Module for Basesystem 15python, python-base2.7.14-7.11.1SUSE-SU-2019:0972-1
SUSELinux Enterprise Module for Basesystem 15python3, python3-base3.6.5-3.11.1SUSE-SU-2019:0971-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1python3, python3-base3.6.10-3.42.2SUSE-SU-2020:0114-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Desktop Applications 15 and 2 morepython2.7.17-7.32.2SUSE-SU-2020:0234-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Python 2 15 SP1python-base2.7.17-7.32.1SUSE-SU-2020:0234-1
SUSELinux Enterprise Module for Desktop Applications 15python2.7.14-7.11.1SUSE-SU-2019:0972-1
SUSELinux Enterprise Module for Development Tools 15python3-base3.6.5-3.11.1SUSE-SU-2019:0971-1
SUSELinux Enterprise Module for Development Tools 15, Linux Enterprise Module for Development Tools 15 SP1python3-base3.6.10-3.42.2SUSE-SU-2020:0114-1
18 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.0python2.7.14-lp150.6.10.1openSUSE-SU-2019:1273-1
openSUSELeap 15.0python33.6.5-lp150.2.10.1openSUSE-SU-2019:1282-1
openSUSELeap 15.1python3, python3-base3.6.10-lp151.6.7.1openSUSE-SU-2020:0086-1
openSUSETumbleweedpython2.7.18-8.1openSUSE-SU-2024:11202-1
openSUSETumbleweedpython363.6.15-1.1openSUSE-SU-2024:11284-1
AlmaLinux8python2-Cython0.28.1-7.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-PyMySQL0.8.0-10.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-attrs17.4.0-10.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-chardet3.0.4-10.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-coverage4.5.1-4.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-docutils0.14-12.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-funcsigs1.0.2-13.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-idna2.5-7.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-ipaddress1.0.18-6.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-markupsafe0.23-19.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-mock2.0.0-13.module_el8.6.0+2781+fed64c13ALSA-2019:0981
AlmaLinux8python2-pluggy0.6.0-8.module_el8.6.0+2781+fed64c13ALSA-2019:0981
9 more for AlmaLinux in the JSON.
Rocky Linux8Cython0:0.28.1-7.module+el8.4.0+403+9ae17a31RLSA-2019:0981
Rocky Linux8Cython0:0.28.1-7.module+el8.5.0+706+735ec4b3RLSA-2019:0981
Rocky Linux8PyYAML0:3.12-16.module+el8.4.0+403+9ae17a31RLSA-2019:0981
Rocky Linux8PyYAML0:3.12-16.module+el8.5.0+706+735ec4b3RLSA-2019:0981
Rocky Linux8babel0:2.5.1-9.module+el8.4.0+403+9ae17a31RLSA-2019:0981
Rocky Linux8pytest0:3.4.2-13.module+el8.4.0+403+9ae17a31RLSA-2019:0981
Rocky Linux8pytest0:3.4.2-13.module+el8.5.0+706+735ec4b3RLSA-2019:0981
Rocky Linux8python-PyMySQL0:0.8.0-10.module+el8.3.0+120+426d8bafRLSA-2019:0981
Rocky Linux8python-PyMySQL0:0.8.0-10.module+el8.5.0+706+735ec4b3RLSA-2019:0981
Rocky Linux8python-attrs0:17.4.0-10.module+el8.4.0+403+9ae17a31RLSA-2019:0981
Rocky Linux8python-attrs0:17.4.0-10.module+el8.5.0+706+735ec4b3RLSA-2019:0981
Rocky Linux8python-chardet0:3.0.4-10.module+el8.4.0+403+9ae17a31RLSA-2019:0981
29 more for Rocky Linux in the JSON.
Alpinev3.6, v3.7, v3.8python33.6.8-r0ALPINE-CVE-2019-9636
Alpinev3.7, v3.8python22.7.15-r2ALPINE-CVE-2019-9636
Alpinev3.9, v3.10, v3.11 and 4 morepython22.7.16-r1ALPINE-CVE-2019-9636
Alpinev3.10, v3.11python2-tkinter2.7.17-r0ALPINE-CVE-2019-9636

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; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6python-0:2.6.6-68.el6_10Fixed 2019-06-13RHSA-2019:1467
Red Hat Enterprise Linux 7python-0:2.7.5-77.el7_6Fixed 2019-04-08RHSA-2019:0710
Red Hat Enterprise Linux 7.4 Advanced Update Supportpython-0:2.7.5-59.el7_4Fixed 2019-10-23RHSA-2019:3170
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportpython-0:2.7.5-59.el7_4Fixed 2019-10-23RHSA-2019:3170
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionspython-0:2.7.5-59.el7_4Fixed 2019-10-23RHSA-2019:3170
Red Hat Enterprise Linux 7.5 Extended Update Supportpython-0:2.7.5-70.el7_5Fixed 2019-10-08RHSA-2019:2980
Red Hat Enterprise Linux 8python27:2.7-8000020190410132513.c0efe978Fixed 2019-05-07RHSA-2019:0981
Red Hat Enterprise Linux 8python3-0:3.6.8-2.el8_0Fixed 2019-05-07RHSA-2019:0997
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-python36-python-0:3.6.3-4.el6Fixed 2019-04-16RHSA-2019:0765
Red Hat Software Collections for Red Hat Enterprise Linux 6python27-python-0:2.7.13-4.el6Fixed 2019-04-23RHSA-2019:0806
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-python35-python-0:3.5.1-12.el6Fixed 2019-04-30RHSA-2019:0902
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python36-python-0:3.6.3-7.el7Fixed 2019-04-16RHSA-2019:0765
Red Hat Software Collections for Red Hat Enterprise Linux 7python27-python-0:2.7.13-6.el7Fixed 2019-04-23RHSA-2019:0806
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python35-python-0:3.5.1-12.el7Fixed 2019-04-30RHSA-2019:0902
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-python36-python-0:3.6.3-7.el7Fixed 2019-04-16RHSA-2019:0765
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSpython27-python-0:2.7.13-6.el7Fixed 2019-04-23RHSA-2019:0806
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-python35-python-0:3.5.1-12.el7Fixed 2019-04-30RHSA-2019:0902
Red Hat Enterprise Linux 5pythonOut of support scope
Red Hat Enterprise Linux 7python3Not affected
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
9 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-2019-9636.

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
ICSMA-21-187-01Philips Vue PACS (Update B)2021-07-06Healthcare and Public HealthVue PACS: Versions 12.2.x.x and prior, Vue Motion: Versions 12.2.1.5 and prior, Vue MyVue: Versions 12.2.x.x and prior and 1 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-173 (12).

References

Check your stackJSON