CVE-2017-18258

libxml2: Unrestricted memory usage in xz_head() function in xzlib.c

Published Apr 8, 2018 CVSS 3.0 · 6.5 Medium EPSS 2.7% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1524-1 libxml2 security update
Debian DLA Debian DLA DLA-2369-1 libxml2 security update
EUVD EUVD EUVD-2018-0189 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.
Github GHSA Github GHSA GHSA-882p-jqgm-f45g Uncontrolled resource consumption in nokogiri
Ubuntu USN Ubuntu USN USN-3739-1 libxml2 vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 6:30 AM
Reserved
Apr 8, 2018, 12:00 AM
Status
Modified
Published
Apr 8, 2018, 5:29 PM
Modified
Oct 14, 2026, 7:16 AM
Severity
Low
Public date
Sep 7, 2017, 12:00 AM