Home / The Python Project / Python / CVE-2018-14647
CVE-2018-14647: is it exploited, and which versions of The Python Project Python are affected and fixed?
CVE-2018-14647 is an improper initialization vulnerability in The Python Project 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, 08:08 UTC). Affected: Python 3.8, 3.7, 3.6, 3.5, 3.4, 2.7 (CVE record by redhat). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 3.0, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:29 UTC.
What is CVE-2018-14647?
Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization. This could make it easy to conduct denial of service attacks against Expat by constructing an XML document that would cause pathological hash collisions in Expat's internal data structures, consuming large amounts CPU and RAM. The vulnerability exists in Python versions 3.7.0, 3.6.0 through 3.6.6, 3.5.0 through 3.5.6, 3.4.0 through 3.4.9, 2.7.0 through 2.7.15.
From the CVE record by redhat, last updated October 7, 2026, 18:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| The Python Project | Python | 3.8, 3.7, 3.6, 3.5, 3.4, 2.7 |
As the CVE record by redhat states it, last updated October 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | python | from 2.7.0 through 2.7.15 | application |
| python | python | from 3.4.0 through 3.4.9 | application |
| python | python | from 3.5.0 through 3.5.6 | application |
| python | python | from 3.6.0 through 3.6.6 | application |
| python | python | 3.7.0 | application |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| fedoraproject | fedora | 30 | operating system |
| opensuse | leap | 15.1 | operating system |
| redhat | enterprise linux desktop | 7.0 | operating system |
| redhat | enterprise linux server | 7.0 | operating system |
| redhat | enterprise linux workstation | 7.0 | operating system |
NVD analysis (status Modified), last modified October 7, 2026, 19:17 UTC.
How severe is CVE-2018-14647?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | redhat |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | 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-2018-14647 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 7, 2026)
- EPSS
- 10.8% probability of exploitation activity in the next 30 days, percentile 95.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-665 Improper Initialization
- CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
- CWE-909 Missing Initialization of Resource
Where are the vendor advisories and references?
- DSA-4306 vendor-advisory, x_refsource_DEBIAN
- USN-3817-2 vendor-advisory, x_refsource_UBUNTU
- 1041740 vdb-entry, x_refsource_SECTRACK
- 105396 vdb-entry, x_refsource_BID
- DSA-4307 vendor-advisory, x_refsource_DEBIAN
- https://bugs.python.org/issue34623 x_refsource_MISC
- USN-3817-1 vendor-advisory, x_refsource_UBUNTU
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14647 x_refsource_CONFIRM
- FEDORA-2019-0c91ce7b3c vendor-advisory, x_refsource_FEDORA
- RHSA-2019:1260 vendor-advisory, x_refsource_REDHAT
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1835-1] python3.4 security update mailing-list, x_refsource_MLIST
- RHSA-2019:2030 vendor-advisory, x_refsource_REDHAT
- RHSA-2019:3725 vendor-advisory, x_refsource_REDHAT
- openSUSE-SU-2020:0086 vendor-advisory, x_refsource_SUSE
- [bookkeeper-issues] 20200729 [GitHub] [bookkeeper] padma81 opened a new issue #2387: Security vulnerabilities in the apache/bookkeeper-4.9.2 image mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- July 27, 2018
- Published
- September 25, 2018, 00:00 UTC
- CVE record updated
- October 7, 2026, 18:29 UTC by redhat
- NVD
- Modified, last modified October 7, 2026, 19:17 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:29 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2018-14647
Is CVE-2018-14647 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 10.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of The Python Project Python are affected by CVE-2018-14647?
Python 3.8, 3.7, 3.6, 3.5, 3.4, 2.7, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2018-14647?
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-2018-14647?
Medium (5.3, CVSS 3.0, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2018-14647?
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.