Buffer overflow in PHP - CVE-2014-3597
Published: November 27, 2018
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to multiple buffer overflows in the php_parserr function in ext/standard/dns.c in PHP before 5.4.32 and 5.5.x before 5.5.16. A remote attacker can trigger memory corruption via a crafted DNS record, related to the dns_get_record function and the dn_expand function and cause the service to crash or execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Slackware Linux
php5 (Ubuntu package)
php (Alpine package)
dev-lang/php
How to mitigate CVE-2014-3597
php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.27, 5.3.10-1ubuntu3.14
php (Alpine package) - update to 5.5.16-r0
dev-lang/php - update to 5.5.16