Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2018-14647Published 9/25/2018

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.

Vendor advisory
CVSS7.5High

Overview

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.

Published
9/25/2018
Last modified
10/7/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
python
python
≥ 2.7.0, ≤ 2.7.15

Verify advisory

Source
python
python
≥ 3.4.0, ≤ 3.4.9

Verify advisory

Source
python
python
≥ 3.5.0, ≤ 3.5.6

Verify advisory

Source
python
python
≥ 3.6.0, ≤ 3.6.6

Verify advisory

Source
python
python
3.7.0

Verify advisory

Source
ubuntu linux
canonical
12.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
14.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
16.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
18.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
8.0

Verify advisory

Source
debian linux
debian
9.0

Verify advisory

Source
fedora
fedoraproject
30

Verify advisory

Source
leap
opensuse
15.1

Verify advisory

Source
enterprise linux desktop
redhat
7.0

Verify advisory

Source
enterprise linux server
redhat
7.0

Verify advisory

Source
enterprise linux workstation
redhat
7.0

Verify advisory

Source
Python
The Python Project
3.8, 3.7, 3.6, 3.5, 3.4, 2.7

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.