CVE-2007-1889

Summary

CVECVE-2007-1889
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-04-06 01:19:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionInteger 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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 5.2.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
MOPB-43-2007:PHP msg_receive() Memory Allocation Integer Overflow Vulnerabilty af854a3a-2127-422b-91ae-364da2661108 www.php-security.org Patch, Vendor Advisory
SUSE update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
PHP Memory Manager Sign Comparison Multiple Buffer Overflow Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Debian update for php5 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
MOPB-44-2007:PHP 5.2.0 Memory Manager Signed Comparision Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.php-security.org Vendor Advisory
Debian -- Security Information -- DSA-1283-1 php5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-04-16Mark J CoxNot vulnerable. These issues did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1, 3, 4, 5, Stronghold 4.0, or Red Hat Application Stack 1.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report