CVE-2018-14647
Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization. This could make it eas…
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running The Python Project Python 3.8, 3.7, 3.6, 3.5, 3.4, 2.7
Vulnerability facts
- Affected
- The Python Project Python 3.8, 3.7, 3.6, 3.5, 3.4, 2.7
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.0, CNA)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- EPSS
- 10.91% chance of exploitation in 30 days (percentile 97, 2026-11-26)
- CWE
- CWE-665, CWE-335
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| The Python Project Python | 3.8, 3.7, 3.6, 3.5, 3.4, 2.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-14647. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-14647.md Affected: The Python Project Python 3.8, 3.7, 3.6, 3.5, 3.4, 2.7 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for The Python Project Python: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://www.debian.org/security/2018/dsa-4306
- https://usn.ubuntu.com/3817-2/
- https://www.debian.org/security/2018/dsa-4307
- https://usn.ubuntu.com/3817-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RBJCB2HWOJLP3L7CUQHJHNBHLSVOXJE5/
- https://access.redhat.com/errata/RHSA-2019:1260
- https://access.redhat.com/errata/RHSA-2019:2030
- https://access.redhat.com/errata/RHSA-2019:3725
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
Other
- http://www.securitytracker.com/id/1041740
- http://www.securityfocus.com/bid/105396
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14647
- https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html
- https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html
- https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
FAQ
Is CVE-2018-14647 being exploited?
There is no confirmed exploitation: CVE-2018-14647 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 10.91% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-14647?
Medium: CVSS 5.3 (v3.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2018-14647?
The Python Project Python 3.8, 3.7, 3.6, 3.5, 3.4, 2.7.
Is there a fix for CVE-2018-14647?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2018-14647?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.