PHP Memory Manager Sign Comparison Multiple Buffer Overflow Vulnerabilities

BID:23238

Info

PHP Memory Manager Sign Comparison Multiple Buffer Overflow Vulnerabilities

Bugtraq ID: 23238
Class: Boundary Condition Error
CVE:
Remote: Yes
Local: Yes
Published: Mar 31 2007 12:00AM
Updated: Apr 02 2007 08:32PM
Credit: Stefan Esser is credited with the discovery of these vulnerabilities.
Vulnerable: PHP PHP 5.2
+ Debian Linux 4.0 sparc
+ Debian Linux 4.0 s/390
+ Debian Linux 4.0 powerpc
+ Debian Linux 4.0 mipsel
+ Debian Linux 4.0 mips
+ Debian Linux 4.0 m68k
+ Debian Linux 4.0 ia-64
+ Debian Linux 4.0 ia-32
+ Debian Linux 4.0 hppa
+ Debian Linux 4.0 arm
+ Debian Linux 4.0 amd64
+ Debian Linux 4.0 alpha
+ Debian Linux 4.0
Not Vulnerable: PHP PHP 5.2.1
+ Ubuntu Ubuntu Linux 7.04 sparc
+ Ubuntu Ubuntu Linux 7.04 powerpc
+ Ubuntu Ubuntu Linux 7.04 i386
+ Ubuntu Ubuntu Linux 7.04 amd64

Discussion

PHP Memory Manager Sign Comparison Multiple Buffer Overflow Vulnerabilities

PHP is prone to multiple buffer-overflow vulnerabilities because the application fails to perform boundary checks before copying user-supplied data to insufficiently sized memory buffers.

An attacker can exploit these issues to execute arbitrary machine code in the context of the affected webserver. Failed exploit attempts will likely crash the webserver, denying service to legitimate users.

These issues affects PHP version 5.2.0.

Exploit / POC

PHP Memory Manager Sign Comparison Multiple Buffer Overflow Vulnerabilities

Currently we are not aware of any exploits for these issues. If you feel we are in error or if you are aware of more recent information, please mail us at: mailto:[email protected].

Solution / Fix

PHP Memory Manager Sign Comparison Multiple Buffer Overflow Vulnerabilities

Solution:
The vendor released version 5.2.1 to address these issues. Please see the references for more information.


PHP PHP 5.2

References

PHP Memory Manager Sign Comparison Multiple Buffer Overflow Vulnerabilities

References:
© 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