Skip to content
OpenAdvisories
Unscored CVE-2017-16931 EUVD-2017-8101GHSA-7mr2-r9fx-7j9m

parser.c in libxml2 before 2.9.5 mishandles parameter-entity references because the NEXTL macro calls the xmlParserHandlePEReference functi…

Published Nov 23, 2017 · Updated Oct 14, 2026 · Assigned by mitre

Description

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.

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-3.1 —
Debian 13 libxml2 2.9.4+dfsg1-3.1 —
Debian 12 libxml2 2.9.4+dfsg1-3.1 —
Debian 7 libxml2 2.8.0+dfsg1-7+wheezy11 DLA-1194-1
ReleasePackageFixed inAdvisory
Alpine v3.6 libxml2 2.9.5-r0 —
Alpine v3.5 libxml2 2.9.5-r0 —
Alpine v3.4 libxml2 2.9.5-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libxml2 +3 2.9.1-6.amzn2.3.3 ALAS2-2019-1301

Advisories 6

References