Input validation error in PHP - CVE-2007-1889
Published: July 29, 2017 / Updated: June 8, 2025
PHP
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to read and manipulate data.
Integer signedness error in the _zend_mm_alloc_int function in the Zend Memory Manager in PHP 5.2.0 allows remote attackers to execute arbitrary code via a large emalloc request, related to an incorrect signed long cast, as demonstrated via the HTTP SOAP client in PHP, and via a call to msg_receive with the largest positive integer value of maxsize.
How to mitigate CVE-2007-1889
Sources
- http://secunia.com/advisories/25056
- http://secunia.com/advisories/25062
- http://www.debian.org/security/2007/dsa-1283
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.php-security.org/MOPB/MOPB-43-2007.html
- http://www.php-security.org/MOPB/MOPB-44-2007.html
- http://www.securityfocus.com/bid/23238
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33770