{"id":"CVE-2007-1889","aliases":["DSA-1283-1","DTSA-39-1","EUVD-2007-1883","GHSA-rgqg-p92w-cgqj"],"status":"published","title":"Integer signedness error in the _zend_mm_alloc_int function in the Zend Memory Manager in PHP 5.2...","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03132,"percentile":0.87962,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2007-04-06T01:00:00Z","modified":"2026-06-16T22:38:30Z","affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"php5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-8+etch3"}]}],"versions":["5.2.0-8+etch1"],"bundled":17},{"source":"osv","ecosystem":"Debian:5.0","package":"php5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-10+lenny1"}]}],"bundled":18}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://secunia.com/advisories/25056","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2007/dsa-1283","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.php-security.org/MOPB/MOPB-43-2007.html","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/23238","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.php-security.org/MOPB/MOPB-44-2007.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/25062","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33770","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1889"},{"url":"https://github.com/advisories/GHSA-rgqg-p92w-cgqj"}],"sources":{"cve":[{"id":"CVE-2007-1889","description":"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.","status":"published","published":"2007-04-06T01:00:00Z","modified":"2024-08-07T13:13:41.388Z","updated_at":"2026-11-02T13:33:41.472948Z"}],"euvd":[{"id":"EUVD-2007-1883","description":"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.","status":"published","published":"2007-04-06T01:00:00Z","modified":"2024-08-07T13:13:41Z","updated_at":"2026-11-03T01:38:23.856285Z"}],"ghsa":[{"id":"GHSA-rgqg-p92w-cgqj","title":"Integer signedness error in the _zend_mm_alloc_int function in the Zend Memory Manager in PHP 5.2...","description":"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.","status":"published","published":"2022-05-01T17:58:04Z","modified":"2023-01-31T05:03:40Z","updated_at":"2026-11-02T14:48:31.353557Z"}],"nvd":[{"id":"CVE-2007-1889","description":"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.","status":"published","published":"2007-04-06T01:19:00Z","modified":"2026-06-16T22:38:30.653Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:14.732044Z"}],"osv":[{"id":"DSA-1283-1","title":"php5","status":"published","published":"2007-04-29T00:00:00Z","modified":"2026-03-09T01:01:00.8697Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"DTSA-39-1","title":"php5 - several vulnerabilities","status":"published","published":"2007-05-28T00:00:00Z","modified":"2026-03-09T01:01:30.482688Z","updated_at":"2026-11-02T15:46:18.716547Z"}]}}
