PHP S Data Type Serialization Format Heap Information Leak Vulnerability

BID:23105

Info

PHP S Data Type Serialization Format Heap Information Leak Vulnerability

Bugtraq ID: 23105
Class: Boundary Condition Error
CVE:
Remote: No
Local: Yes
Published: Mar 23 2007 12:00AM
Updated: Jul 04 2008 03:40PM
Credit: Stefan Esser is credited with the discovery of this vulnerability.
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
Mandriva Linux Mandrake 2007.1 x86_64
Mandriva Linux Mandrake 2007.1
Not Vulnerable: PHP PHP 5.2.2

Discussion

PHP S Data Type Serialization Format Heap Information Leak Vulnerability

PHP 'S:' datatype serialization handler is prone to a heap-information leak.

The vulnerability arises because of a missing boundary check in the unserialization of escaped strings. A local attacker can exploit this issue to obtain sensitive information (such as heap offsets and canaries) that may aid in other attacks.

PHP 5.2.1 is affected.

Exploit / POC

PHP S Data Type Serialization Format Heap Information Leak Vulnerability

An exploit is available.

Solution / Fix

PHP S Data Type Serialization Format Heap Information Leak Vulnerability

Solution:
The vendor released an update to address this issue. Please see the references for more information.


PHP PHP 5.2.1

References

PHP S Data Type Serialization Format Heap Information Leak Vulnerability

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