CVEfocus › CVE database › CVE-2017-8872

CVE-2017-8872

CVSS 9.1 CriticalEPSS 2.3% (higher than 84% of CVEs)Published 2017-05-10Updated 2025-12-17Assigner: mitre

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.

CWE-125

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
9Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04libxml2Fixed2.9.4+dfsg1-6.1ubuntu1UBUNTU-CVE-2017-8872
Ubuntu 16.04libxml2Fix pending2.9.3+dfsg1-1ubuntu0.7+esm1 (Ubuntu Pro)UBUNTU-CVE-2017-8872
Ubuntu 14.04libxml2Fix pending2.9.1+dfsg1-3ubuntu4.13+esm2 (Ubuntu Pro)UBUNTU-CVE-2017-8872
Debian 14libxml2Fixed2.9.4+dfsg1-6.1DEBIAN-CVE-2017-8872
Debian 13libxml2Fixed2.9.4+dfsg1-6.1DEBIAN-CVE-2017-8872
Debian 12libxml2Fixed2.9.4+dfsg1-6.1DEBIAN-CVE-2017-8872
Red Hat Enterprise Linux 7libxml2Will not fix
Will not fix
Red Hat Enterprise Linux 7libxml2-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libxml2-pythonWill not fix
Will not fix
Red Hat Enterprise Linux 7libxml2-staticWill not fix
Will not fix
Red Hat Enterprise Linux 6libxml2Will not fix
Will not fix
Red Hat Enterprise Linux 6libxml2-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libxml2-pythonWill not fix
Will not fix
Red Hat Enterprise Linux 6libxml2-staticWill not fix
Will not fix
Red Hat Enterprise Linux 5libxml2Will not fix
Will not fix

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.