CVE-2018-14647

HIGH CVSS 3.1: 7.5 EPSS 10.9%
Updated Oct 07, 2026
Canonical
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 2.7.0 — 3.6.6
Type CWE-909, CWE-335, CWE-665
Vendor Canonical
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 16

Configuration From (including) Up to (excluding)
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
2.7.0 <= 2.7.15
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.4.0 <= 3.4.9
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.5.0 <= 3.5.6
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.6.0 <= 3.6.6
Python Python
cpe:2.3:a:python:python:3.7.0:*:*:*:*:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
— —
Opensuse Leap
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux_Desktop
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux_Server
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux_Workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
— —