Live threats

All CVEs / Python

CVE-2018-14647Python

High 7.5 No auth neededHigh EPSS

Priority
61
CVSS 3.1
7.5
EPSS
10.9%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Sep 25, 2018
Updated
Oct 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-335, CWE-665, CWE-909
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython≥ 2.7.0 ≤ 2.7.15
pythonpython≥ 3.4.0 ≤ 3.4.9
pythonpython≥ 3.5.0 ≤ 3.5.6
pythonpython≥ 3.6.0 ≤ 3.6.6
pythonpython3.7.0
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
debiandebian_linux8.0
debiandebian_linux9.0
fedoraprojectfedora30
opensuseleap15.1
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_workstation7.0

Official sources

References

Links published by the sources. Open them with care.