{"id":"CVE-2017-18258","published":"2018-04-08T17:00:00Z","modified":"2026-10-14T06:30:31Z","title":"The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service (memory…","vendor":null,"product":null,"tier":"tail","description":{"text":"The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service (memory consumption) via a crafted LZMA file, because the decoder functionality does not restrict memory usage to what is required for a legitimate file.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02729,"percentile":0.86432,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00035.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/3739-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://git.gnome.org/browse/libxml2/commit/?id=e2a9122b8dde53d320750451e9907a7dcb2ca8bb","tags":["x_refsource_MISC"]},{"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10284","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20190719-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":17.29}]},"affected":[{"ecosystem":"RubyGems","package":"nokogiri","vulnerableRanges":["<1.8.2"],"patched":["1.8.2"],"from":["GHSA-882p-jqgm-f45g"],"provenance":"source"}],"summary":{"text":"The flaw is in the xz_head function in xzlib.c, a component of libxml2. An attacker who can supply a crafted LZMA file to the affected library can exhaust memory and cause a denial of service, because the decoder does not limit memory use to what a legitimate file requires.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:18Z"},"euvd":{"id":"EUVD-2018-0189","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-16932","published":"2017-11-23","fixed":"1.8.1","kev":false,"link":{"from":"CVE-2017-16932","to":"CVE-2017-18258","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.8.1","toFixed":"1.8.2","daysApart":136}]}},{"cve":"CVE-2017-9050","published":"2017-05-18","fixed":"1.8.1","kev":false},{"cve":"CVE-2017-15412","published":"2018-08-28","fixed":"1.8.2","kev":false},{"cve":"CVE-2017-18258","published":"2018-04-08","fixed":"1.8.2","kev":false},{"cve":"CVE-2018-8048","published":"2018-03-27","fixed":"1.8.3","kev":false},{"cve":"CVE-2018-14404","published":"2018-07-19","fixed":"1.8.5","kev":false},{"cve":"CVE-2019-11068","published":"2019-04-10","fixed":"1.10.3","kev":false}],"package":"RubyGems:nokogiri"}}