CVE-2013-4113
php: xml_parse_into_struct buffer overflow when parsing deeply nested XML
Severity
CriticalRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · July 11, 2013
Updated · November 21, 2025
Description
ext/xml/xml.c in PHP before 5.3.27 does not properly consider parsing depth, which allows remote attackers to cause a denial of service (heap memory corruption) or possibly have unspecified other impact via a crafted document that is processed by the xml_parse_into_struct function.
Statement
This issue does not affect the version of php54 as shipped with Red Hat Software Collections 1.
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
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
CWE not specified