Home / Python / Python / CVE-2019-17514
CVE-2019-17514: is it exploited, and which versions of Python are affected and fixed?
CVE-2019-17514 is an incorrect calculation vulnerability in Python. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: python 3.6.0, python 3.7.0 and python 3.8.0 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:19 UTC.
What is CVE-2019-17514?
library/glob.html in the Python 2 and 3 documentation before 2016 has potentially misleading information about whether sorting occurs, as demonstrated by irreproducible cancer-research results. NOTE: the effects of this documentation cross application domains, and thus it is likely that security-relevant code elsewhere is affected. This issue is not a Python implementation bug, and there are no reports that NMR researchers were specifically relying on library/glob.html. In other words, because the older documentation stated "finds all the pathnames matching a specified pattern according to the rules used by the Unix shell," one might have incorrectly inferred that the sorting that occurs in a Unix shell also occurred for glob.glob. There is a workaround in newer versions of Willoughby nmr-data_compilation-p2.py and nmr-data_compilation-p3.py, which call sort() directly.
From the CVE record by mitre, last updated August 5, 2024, 01:40 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | python | 3.6.0 | application |
| python | python | 3.7.0 | application |
| python | python | 3.8.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:24 UTC.
How severe is CVE-2019-17514?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-17514 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.67% probability of exploitation activity in the next 30 days, percentile 92.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-682 Incorrect Calculation
Where are the vendor advisories and references?
- https://web.archive.org/web/20150906020027/https://docs.python.org/2.7/library/glob.html x_refsource_MISC
- https://web.archive.org/web/20160526201356/https://docs.python.org/2.7/library/glob.html x_refsource_MISC
- https://web.archive.org/web/20150822013622/https://docs.python.org/3/library/glob.html x_refsource_MISC
- https://web.archive.org/web/20160309211341/https://docs.python.org/3/library/glob.html x_refsource_MISC
- https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L380 x_refsource_MISC
- https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L405 x_refsource_MISC
- https://bugs.python.org/issue33275 x_refsource_MISC
- https://twitter.com/LucasCMoore/status/1181615421922824192 x_refsource_MISC
- https://pubs.acs.org/doi/suppl/10.1021/acs.orglett.9b03216/suppl_file/ol9b03216_si_002.zip x_refsource_MISC
- https://pubs.acs.org/doi/full/10.1021/acs.orglett.9b03216 x_refsource_MISC
- https://www.vice.com/en_us/article/zmjwda/a-code-glitch-may-have-caused-errors-in-more-than-100-published-studies x_refsource_MISC
- https://twitter.com/chris_bloke/status/1181997278136958976 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20191107-0005/ x_refsource_CONFIRM
- USN-4428-1 vendor-advisory, x_refsource_UBUNTU
When was it published, and where is the official record?
- Reserved
- October 12, 2019
- Published
- October 12, 2019, 12:07 UTC
- CVE record updated
- August 5, 2024, 01:40 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:24 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:19 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Python?
- Aug 25, 2023CVE-2023-40217 Python: n/a
- Aug 23, 2023CVE-2023-41105 Python: untrusted Search Path
- Aug 22, 2023CVE-2022-48566 Python: race condition
- Aug 22, 2023CVE-2022-48565 Python: XML external entity (XXE)
- Aug 22, 2023CVE-2022-48564 Python: denial of service (uncontrolled resource consumption)
- Aug 22, 2023CVE-2022-48560 Python: use after free
- Aug 15, 2023CVE-2023-38898 Python: n/a disputed
- Jun 25, 2023CVE-2023-36632 Python: uncontrolled recursion disputed
Questions about CVE-2019-17514
Is CVE-2019-17514 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 4.67% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Python are affected by CVE-2019-17514?
python 3.6.0, python 3.7.0 and python 3.8.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2019-17514?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2019-17514?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-17514?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.