Buffer overflow in PHP - CVE-2013-4113

 

Buffer overflow in PHP - CVE-2013-4113

Published: July 13, 2013 / Updated: July 28, 2020


Vulnerability identifier: #VU32631
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-4113
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


Affected software

PHP
Gentoo Linux
Amazon Linux AMI
SUSE Linux
Slackware Linux
php (Alpine package)
dev-lang/php

How to mitigate CVE-2013-4113

Install update from vendor's website.

PHP - update to 5.3.27
php (Alpine package) - addressed in versions 5.3.26-r1, 5.3.27-r0
dev-lang/php - update to 5.5.16

External References

Related Security Bulletins