CVE-2017-18258

NameCVE-2017-18258
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1524-1, DLA-2369-1, ELA-46-1
Debian Bugs895245

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxml2 (PTS)jessie, jessie (lts)2.9.1+dfsg1-5+deb8u17fixed
stretch (security)2.9.4+dfsg1-2.2+deb9u7fixed
stretch (lts), stretch2.9.4+dfsg1-2.2+deb9u11fixed
buster, buster (lts)2.9.4+dfsg1-7+deb10u9fixed
buster (security)2.9.4+dfsg1-7+deb10u6fixed
bullseye2.9.10+dfsg-6.7+deb11u4fixed
bullseye (security)2.9.10+dfsg-6.7+deb11u5fixed
bookworm2.9.14+dfsg-1.3~deb12u1fixed
sid, trixie2.12.7+dfsg+really2.9.14-0.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxml2sourceexperimental2.9.7+dfsg-1
libxml2sourcewheezy2.8.0+dfsg1-7+wheezy13ELA-46-1
libxml2sourcejessie2.9.1+dfsg1-5+deb8u7DLA-1524-1
libxml2sourcestretch2.9.4+dfsg1-2.2+deb9u3DLA-2369-1
libxml2sourcebuster2.9.4+dfsg1-7+deb10u1
libxml2source(unstable)2.9.10+dfsg-2low895245

Notes

[wheezy] - libxml2 <postponed> (Minor issue; wait for upstream fix for upstream bug 794914)
https://bugzilla.gnome.org/show_bug.cgi?id=786696
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/e2a9122b8dde53d320750451e9907a7dcb2ca8bb
When fixing this issue make sure to not open CVE-2018-9251 and apply
the fix for CVE-2018-9251 / https://bugzilla.gnome.org/show_bug.cgi?id=794914

Search for package or bug name: Reporting problems