Integer overflow in PHP - CVE-2013-7328
Published: November 27, 2018
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists due to multiple integer signedness errors in the gdImageCrop function in ext/gd/gd.c in PHP 5.5.x before 5.5.9. A remote attacker can cause application crash or obtain sensitive information via an imagecrop function call with a negative value for the (1) x or (2) y dimension.
Affected software
Ubuntu
php5-gd (Ubuntu package)
php5-cgi (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
php5-cli (Ubuntu package)
How to mitigate CVE-2013-7328
php5-gd (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.23, 5.3.10-1ubuntu3.10, 5.4.6-1ubuntu1.7, 5.5.3+dfsg-1ubuntu2.2
php5-cgi (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.23, 5.3.10-1ubuntu3.10, 5.4.6-1ubuntu1.7, 5.5.3+dfsg-1ubuntu2.2
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.23, 5.3.10-1ubuntu3.10, 5.4.6-1ubuntu1.7, 5.5.3+dfsg-1ubuntu2.2
php5-cli (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.23, 5.3.10-1ubuntu3.10, 5.4.6-1ubuntu1.7, 5.5.3+dfsg-1ubuntu2.2