CVE-2016-9318
libxml2: XML External Entity vulnerability
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · October 6, 2016
Updated · September 21, 2026
Description
libxml2 2.9.4 and earlier, as used in XMLSec 1.2.23 and earlier and other products, does not offer a flag directly indicating that the current document may be read but other files may not be opened, which makes it easier for remote attackers to conduct XML External Entity (XXE) attacks via a crafted document.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Application parsing untrusted input with libxml2 should be careful to NOT use entity expansion (enabled by XML_PARSE_NOENT) or DTD validation (XML_PARSE_DTDLOAD, XML_PARSE_DTDVALID) on such input.
CVSS / CWE
CVSS 3.0 · 6.7CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L
CVSS 2.0 · 5.8AV:N/AC:M/Au:N/C:P/I:N/A:P
CWE-611 · Improper Restriction of XML External Entity Reference