CVE-2018-14647 in Canonical Ubuntu Linux and 7 more products
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 an...
Affects 8 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 16.04 18.04 |
| Debian | Debian Linux | 8.0 9.0 |
| Fedoraproject | Fedora | 30 |
| Opensuse | Leap | 15.1 |
| Python | Python | 3.7.0 ≥ 2.7.0, ≤ 2.7.15 ≥ 3.4.0, ≤ 3.4.9 ≥ 3.5.0, ≤ 3.5.6 ≥ 3.6.0, ≤ 3.6.6 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-14647 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-125650-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2018-09-25 |
| Last modified | 2026-10-07 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-335: CWE-335
CWE-665: CWE-665
CWE-909: CWE-909
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-665
CAPEC-26 Leveraging Race Conditions via CWE-665
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2018. A high severity vulnerability affects Canonical systems (CVE-2018-14647). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Questions
What is CVE-2018-14647?
This vulnerability was disclosed in 2018. A high severity vulnerability affects Canonical systems (CVE-2018-14647). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-14647?
CVE-2018-14647 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 10.8%.
Is CVE-2018-14647 actively exploited?
No confirmed active exploitation of CVE-2018-14647 as of 2026-10-08.
How do I remediate CVE-2018-14647?
Priority: MEDIUM. Advisory: https://access.redhat.com/errata/RHSA-2019:1260 PSIRT: [email protected]
What systems are affected by CVE-2018-14647?
CVE-2018-14647 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Opensuse Leap; Python Python; Redhat Enterprise Linux Workstation, Enterprise Linux Server, Enterprise Linux Desktop.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-07.