← Vulnerability feed

Vulnerability record · CVE-2015-6834 · published 16 May 2016

CVE-2015-6834: PHP unserialization use-after-free enables remote code execution

Php · Php

PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 contain multiple use-after-free flaws in the Serializable interface, SplObjectStorage, and SplDoublyLinkedList classes that are mishandled during unserialization. Because these are memory-corruption bugs reachable from untrusted serialized input, they matter for any application that unserializes attacker-controlled data.

9.8 CVSS 3.0 Critical EPSS 47% · top 1.2%
9.8CVSS 3.0 base score, v2 7.5
47%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
16References
17 Jun 2026Last modified by NVD

Description

Multiple use-after-free vulnerabilities in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 allow remote attackers to execute arbitrary code via vectors related to (1) the Serializable interface, (2) the SplObjectStorage class, and (3) the SplDoublyLinkedList class, which are mishandled during unserialization.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityCritical CVSS (9.8) with network, unauthenticated reachability and high EPSS, though no confirmed in-the-wild exploitation is recorded.

What it is

PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 contain multiple use-after-free flaws in the Serializable interface, SplObjectStorage, and SplDoublyLinkedList classes that are mishandled during unserialization. Because these are memory-corruption bugs reachable from untrusted serialized input, they matter for any application that unserializes attacker-controlled data.

Impact

An attacker can corrupt memory and execute arbitrary code in the context of the PHP process, giving full control over the affected service and its data.

Attack surface

The vector is network-reachable with no privileges or user interaction required (CVSS AV:N/AC:L/PR:N/UI:N), so exploitation is possible wherever an application passes attacker-supplied data to unserialize().

Exploitation

The record is not listed in CISA KEV and carries no exploit-tagged references, but EPSS is high at 0.468 (98.8th percentile), indicating elevated likelihood of exploitation activity.

What to do

  • Upgrade PHP to 5.4.45, 5.5.29, 5.6.13 or later, or apply the vendor/distribution patches (Debian DSA-3358, Gentoo GLSA 201606-10).
  • Eliminate unserialize() on untrusted input; use JSON or another non-executable format for data exchange.
  • Where unserialize() is unavoidable, enforce strict allowed_classes and validate input before deserialization.
  • Run PHP services with least privilege and isolate them so code execution does not grant broad host access.

Detection

  • Search application code and logs for unserialize() calls that accept request, cookie, or file-derived data.
  • Monitor PHP processes for unexpected child processes, outbound connections, or file writes that suggest post-exploitation.
  • Alert on crashes or abnormal memory behavior in PHP-FPM/Apache workers handling serialized input.
  • Inventory PHP versions across hosts and flag any instance below the fixed releases.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2015-6834 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2012-1823PHP-CGI query string option injection enables remote code executionPHP versions before 5.3.12 and 5.4.x before 5.4.2, when run as a CGI script (php-cgi), mishandle query strings that lack an equals sign, allowing com…KEVEPSS 100%analysed10.0CVE-2015-0235glibc gethostbyname heap buffer overflow (GHOST)CVE-2015-0235 is a heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2 and other 2.x versions before 2.18. It is reach…EPSS 95%analysed10.0CVE-2012-2688Php vulnerabilityUnspecified vulnerability in the _php_stream_scandir function in the stream implementation in PHP before 5.3.15 and 5.4.x before 5.4.5 has unknown im…EPSS 10%10.0CVE-2012-2376Php memory buffer overflow vulnerabilityBuffer overflow in the com_print_typeinfo function in PHP 5.4.3 and earlier on Windows allows remote attackers to execute arbitrary code via crafted …EPSS 20%10.0CVE-2011-3268Php memory buffer overflow vulnerabilityBuffer overflow in the crypt function in PHP before 5.3.7 allows context-dependent attackers to have an unspecified impact via a long salt argument, …EPSS 5.7%10.0CVE-2009-4143Php vulnerabilityPHP before 5.2.12 does not properly handle session data, which has unspecified impact and attack vectors related to (1) interrupt corruption of the S…EPSS 2.9%

Source: NIST National Vulnerability Database (record CVE-2015-6834), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.