Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2018-14647: Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization.

HighCVSS 7.5 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 33/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 10.9% (FIRST EPSS); higher than 95.9% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: python2 (Alpine:v3.10) 2.7.16-r0; python2-tkinter (Alpine:v3.10) 2.7.16-r0; python3 (Alpine:v3.6) 3.6.8-r0.
  • Severity is disputed: the assigning authority (CNA) scores it 5.3, NVD 7.5.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to python2 (Alpine:v3.10) 2.7.16-r0; python2-tkinter (Alpine:v3.10) 2.7.16-r0; python3 (Alpine:v3.6) 3.6.8-r0 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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
Sep 25, 2018
Updated
Oct 7, 2026
EPSS
10.9% · 95th percentile

Report tools

JSON

Action score

33

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 10.9%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.5
CNA · redhat
5.3
2.2 point gap

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2018-14647

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
pythonpython
canonicalubuntu linux
debiandebian linux
fedoraprojectfedora
opensuseleap
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux workstation

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • The Python Project Python

    • 3.8, 3.7, 3.6, 3.5, 3.4, 2.7affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10python2before 2.7.16-r02.7.16-r0
Alpine:v3.10python2-tkinterbefore 2.7.16-r02.7.16-r0
Alpine:v3.6python3before 3.6.8-r03.6.8-r0
Alpine:v3.7python2before 2.7.15-r22.7.15-r2
Debian:11python2.7before 2.7.15-52.7.15-5
Debian:8python2.7before 2.7.9-2+deb8u32.7.9-2+deb8u3
Debian:8python3.4before 3.4.2-1+deb8u33.4.2-1+deb8u3
Debian:9python2.7before 2.7.13-2+deb9u32.7.13-2+deb9u3
Debian:9python3.5before 3.5.3-1+deb9u13.5.3-1+deb9u1
openSUSE:Leap 15.1python3before 3.6.10-lp151.6.7.13.6.10-lp151.6.7.1
openSUSE:Leap 15.1python3-basebefore 3.6.10-lp151.6.7.13.6.10-lp151.6.7.1
openSUSE:Tumbleweedpython36before 3.6.15-1.13.6.15-1.1
Red Hat:enterprise_linux:7::clientpythonbefore 0:2.7.5-86.el70:2.7.5-86.el7
Red Hat:enterprise_linux:7::clientpython-debugbefore 0:2.7.5-86.el70:2.7.5-86.el7
Red Hat:enterprise_linux:7::clientpython-debuginfobefore 0:2.7.5-86.el70:2.7.5-86.el7
Red Hat:enterprise_linux:7::clientpython-develbefore 0:2.7.5-86.el70:2.7.5-86.el7
Red Hat:enterprise_linux:7::clientpython-libsbefore 0:2.7.5-86.el70:2.7.5-86.el7
Red Hat:enterprise_linux:7::clientpython-testbefore 0:2.7.5-86.el70:2.7.5-86.el7
Red Hat:enterprise_linux:7::clientpython-toolsbefore 0:2.7.5-86.el70:2.7.5-86.el7
Red Hat:enterprise_linux:7::clienttkinterbefore 0:2.7.5-86.el70:2.7.5-86.el7
Red Hat:rhel_aus:7.4::serverpythonbefore 0:2.7.5-63.el7_40:2.7.5-63.el7_4
Red Hat:rhel_aus:7.4::serverpython-debugbefore 0:2.7.5-63.el7_40:2.7.5-63.el7_4
Red Hat:rhel_aus:7.4::serverpython-debuginfobefore 0:2.7.5-63.el7_40:2.7.5-63.el7_4
Red Hat:rhel_aus:7.4::serverpython-develbefore 0:2.7.5-63.el7_40:2.7.5-63.el7_4

+66

Other highest-scoring records for the same primary product.

  • CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2…
    47Plan
  • CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted…
    47Plan
  • CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain…
    46Plan

Published before and after this one in the same product

  • ← EarlierCVE-2018-1061Jun 19, 2018 · python before versions 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1 and 3.7.0 is vulnerable to catastrophic backtracking in the difflib.IS_LINE_JUNK…
    31Monitor
  • ← EarlierCVE-2018-1000802Sep 18, 2018 · Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command…
    45Plan
  • Later →CVE-2018-20406Dec 23, 2018 · Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value that is mishandled during a "resize to twice…
    32Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:python22.7.16-r0 · Alpine:v3.10Package registry (OSV)
alpine:python2-tkinter2.7.16-r0 · Alpine:v3.10Package registry (OSV)
alpine:python33.6.8-r0 · Alpine:v3.6Package registry (OSV)
debian:python2.72.7.15-5 · Debian:11Package registry (OSV)
debian:python3.43.4.2-1+deb8u3 · Debian:8Package registry (OSV)
debian:python3.53.5.3-1+deb9u1 · Debian:9Package registry (OSV)
opensuse:python33.6.10-lp151.6.7.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python3-base3.6.10-lp151.6.7.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python363.6.15-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:python0:2.7.5-86.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:python-debuginfo0:2.7.5-86.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:python-libs0:2.7.5-86.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:python27-python0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-debug0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-debuginfo0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-devel0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-jinja20:2.6-12.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-libs0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-test0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-tools0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-tkinter0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
suse:python2.6.9-40.21.2 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:python-base2.6.9-40.21.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:python-doc2.6-8.40.21.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:python33.4.6-25.29.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:python3-base3.4.6-25.29.1 · SUSE:OpenStack Cloud 7Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records