CVE-2018-14647

published 25 Sep 2018 · updated 7 Oct 2026

Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization

5.8MediumCVSS 5.3EPSS 11%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 11%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The Python Project=3.8, 3.7, 3.6, 3.5, 3.4, 2.7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-14647 severity on Zeptric[![CVE-2018-14647](https://zeptric.io/badge/cve/CVE-2018-14647.svg)](https://zeptric.io/cve/CVE-2018-14647)