Input validation error in PHP - CVE-2015-4116

 

Input validation error in PHP - CVE-2015-4116

Published: October 30, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110273
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2015-4116
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

Use-after-free vulnerability in the spl_ptr_heap_insert function in ext/spl/spl_heap.c in PHP before 5.5.27 and 5.6.x before 5.6.11 allows remote attackers to execute arbitrary code by triggering a failed SplMinHeap::compare operation. <a href="http://cwe.mitre.org/data/definitions/416.html">CWE 416: Use After Free</a>


How to mitigate CVE-2015-4116

Install update from vendor's website.

Sources