CVE-2015-2787

Description

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
11.755%
chance of exploitation in the next 30 days
higher than 96.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Timeline

  1. 2015-03-30Published by the CNA10:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
php phpthrough 5.4.38no fix listed5.5.0no fix listed5.5.1no fix listed5.5.10no fix listed5.5.11no fix listed(+26 more)not listednot listednot listednot listednot listed
apple mac_os_x10.10.0no fix listed10.10.1no fix listed10.10.2no fix listed10.10.3no fix listed10.10.4no fix listed(+2 more)not listednot listednot listednot listednot listed
opensuse opensuse13.1no fix listed13.2no fix listednot listednot listed
redhat enterprise_linux_desktop7.0no fix listednot listed
redhat enterprise_linux_hpc_node7.0no fix listednot listed
redhat enterprise_linux_hpc_node_eus7.1no fix listednot listed
redhat enterprise_linux_server7.0no fix listednot listed
redhat enterprise_linux_server_eus7.1no fix listednot listed
redhat enterprise_linux_workstation7.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

21 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources