CVE-2015-3451
perl-XML-LibXML: "expand_entities" option was not preserved under some circumstances
Severity
LowRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · April 23, 2015
Updated · November 21, 2025
Description
The _clone function in XML::LibXML before 2.0119 does not properly set the expand_entities option, which allows remote attackers to conduct XML external entity (XXE) attacks via crafted XML data to the (1) new or (2) load_xml function.
Statement
This issue affects the versions of perl-XML-LibXML as shipped with Red Hat Enterprise Linux 5, 6 and 7. Red Hat Product Security has rated this issue as having Low security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
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
This issue only affects programs using this program in forms such as:
$parser = XML::LibXML->new
or
$XML_DOC = $parser->load_xml
if you use the form:
$XML_DOC = XML::LibXML->load_xml
this vulnerability will not be exposed.
CVSS / CWE
CVSS 2.0 · 2.6AV:N/AC:H/Au:N/C:P/I:N/A:N
CWE-611 · Improper Restriction of XML External Entity Reference