CVE-2007-1889: PHP

High severity, CVSS 7.5. EPSS: 3.1% chance of exploitation in the next 30 days.

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.

Affected products

  • PHP PHP: version 5.2.0 only

Published 2007-04-06. Last modified 2026-06-16.