CVE-2017-18258 — The xz_head function in xzlib
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.
Published
2018-04-08T17:29:00.237
Last modified
2026-10-14T07:16:40.117
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
01What is this vulnerability?
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.
02Affected products
No structured affected-product list available — see references below for vendor advisories.
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2018-04-08T17:29:00.237
- Last modified: 2026-10-14T07:16:40.117
09References
- git.gnome.org — https://git.gnome.org/browse/libxml2/commit/?id=e2a9122b8dde53d320750451e9907a7d…
- kc.mcafee.com — https://kc.mcafee.com/corporate/index?page=content&id=SB10284
- lists.debian.org — https://lists.debian.org/debian-lts-announce/2018/09/msg00035.html
- lists.debian.org — https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html
- security.netapp.com — https://security.netapp.com/advisory/ntap-20190719-0001/
- usn.ubuntu.com — https://usn.ubuntu.com/3739-1/
- git.gnome.org — https://git.gnome.org/browse/libxml2/commit/?id=e2a9122b8dde53d320750451e9907a7d…
- kc.mcafee.com — https://kc.mcafee.com/corporate/index?page=content&id=SB10284
- lists.debian.org — https://lists.debian.org/debian-lts-announce/2018/09/msg00035.html
- lists.debian.org — https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →