Skip to content
OpenAdvisories
Critical · 9.1 CVE-2017-8872 EUVD-2017-17814GHSA-8hvw-m45w-cr5x

The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or info…

Published May 10, 2017 · Updated Dec 17, 2025 · Assigned by mitre

Description

The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers to cause a denial of service (buffer over-read) or information disclosure.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml2 2.9.4+dfsg1-6.1 —
Debian 13 libxml2 2.9.4+dfsg1-6.1 —
Debian 12 libxml2 2.9.4+dfsg1-6.1 —
Debian 9 libxml2 2.9.4+dfsg1-2.2+deb9u3 DLA-2369-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libxml2 2.9.10+dfsg-5ubuntu0.20.04.1 USN-4991-1
Ubuntu 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1 USN-4991-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.7+esm1 USN-4991-1
Ubuntu Pro 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13+esm2 USN-4991-1
ReleasePackageFixed inAdvisory
SLES 12 SP3 libxml2 +1 2.9.4-46.3.2 SUSE-SU-2017:2141-1
SLES 12 SP2 libxml2 +1 2.9.4-46.3.2 SUSE-SU-2017:2141-1
SLES 11 SP4 libxml2 2.7.6-0.77.3.2 SUSE-SU-2017:2115-1
SLES 11 SP4 libxml2-python 2.7.6-0.77.3.5 SUSE-SU-2017:2115-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 libxml2 +1 2.9.4-46.3.2 SUSE-SU-2017:2141-1
SLES for SAP 12 SP2 libxml2 +1 2.9.4-46.3.2 SUSE-SU-2017:2141-1
SLES for SAP 11 SP4 libxml2 2.7.6-0.77.3.2 SUSE-SU-2017:2115-1
SLES for SAP 11 SP4 libxml2-python 2.7.6-0.77.3.5 SUSE-SU-2017:2115-1

Advisories 6

References