{"id":"CVE-2018-14647","published":"2018-09-25T00:00:00Z","modified":"2026-10-07T18:29:03Z","title":"Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization","vendor":"The Python Project","product":"Python","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.10911,"percentile":0.9598,"provenance":"source"},"cwes":[{"id":"CWE-665","name":"Improper Initialization"},{"id":"CWE-335","name":"Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://www.debian.org/security/2018/dsa-4306","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/3817-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securitytracker.com/id/1041740","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/105396","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.debian.org/security/2018/dsa-4307","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://bugs.python.org/issue34623","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3817-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14647","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RBJCB2HWOJLP3L7CUQHJHNBHLSVOXJE5/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1260","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2030","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3725","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":19.2},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"the-python-project","affectedVersions":[{"vendor":"The Python Project","product":"Python","versions":["3.8, 3.7, 3.6, 3.5, 3.4, 2.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T18:28:53.788379Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw lives in Python's elementtree C accelerator, which fails to initialise Expat's hash salt during initialization. An unauthenticated remote attacker who can supply an XML document to the affected parser can craft input that causes pathological hash collisions in Expat's internal data structures, consuming large amounts of CPU and RAM and producing a denial of service, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:46:38Z"},"euvd":{"id":"EUVD-2018-6545","exploited":false,"provenance":"source"}}