CVE Catalog

CVE-2015-2787

High
Published: Translated: NVD NIST

Summary

A use-after-free vulnerability in the process_nested_data function in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages the use of the unset function within an __wakeup function.

Risk Assessment

An attacker can remotely gain control over the system, potentially leading to data leakage or full server compromise.

Recommendation

It is recommended to update PHP to the latest version to mitigate this vulnerability and to monitor applications for suspicious unserialize calls.

Other vulnerabilities in PHP

See all
Original NVD description (English source)

Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages use of the unset function within an __wakeup function, a related issue to CVE-2015-0231.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS