CVEfocus › CVE database › CVE-2017-16931

CVE-2017-16931

CVSS 9.8 CriticalEPSS 4.6% (higher than 92% of CVEs)Published 2017-11-23Updated 2026-10-14Assigner: mitre

parser.c in libxml2 before 2.9.5 mishandles parameter-entity references because the NEXTL macro calls the xmlParserHandlePEReference function in the case of a '%' character in a DTD name.

What to do

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

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

6Fixed
9Will not fix
1Not affected

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 16.04libxml2Not affected
vulnerable_code_not_present
Debian 14libxml2Fixed2.9.4+dfsg1-3.1DEBIAN-CVE-2017-16931
Debian 13libxml2Fixed2.9.4+dfsg1-3.1DEBIAN-CVE-2017-16931
Debian 12libxml2Fixed2.9.4+dfsg1-3.1DEBIAN-CVE-2017-16931
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
Alpine Linux 3.6libxml2Fixed2.9.5-r0ALPINE-CVE-2017-16931
Alpine Linux 3.5libxml2Fixed2.9.5-r0ALPINE-CVE-2017-16931
Alpine Linux 3.4libxml2Fixed2.9.5-r0ALPINE-CVE-2017-16931

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.