{"id":"CVE-2015-4116","sourceIdentifier":"cve@mitre.org","published":"2016-05-16T10:59:04.720","lastModified":"2026-06-17T00:26:46.777","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Vulnerabilidad de uso después de liberación de memoria en la función spl_ptr_heap_insert en ext/spl/spl_heap.c en PHP en versiones anteriores a 5.5.27 y 5.6.x en versiones anteriores a 5.6.11 permite a atacantes remotos ejecutar código arbitrario desencadenando una operación SplMinHeap::compare fallida."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-Other"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*","matchCriteriaId":"4863BE36-D16A-4D75-90D9-FD76DB5B48B7"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionEndIncluding":"5.5.26","matchCriteriaId":"C5DF38E1-F412-425F-A7CB-1AB4C2CEE523"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.0:*:*:*:*:*:*:*","matchCriteriaId":"CE65D0D4-CB56-4946-AB44-2EF554602A96"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*","matchCriteriaId":"F1F13E2D-A8F7-4B74-8D03-7905C81672C9"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*","matchCriteriaId":"AE18933A-5FE6-41C7-B1B6-DA3E762C3FB6"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*","matchCriteriaId":"9AE1289F-03A6-4621-B387-5F5ADAC4AE92"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*","matchCriteriaId":"383697F5-D29E-475A-84F3-46B54A928889"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*","matchCriteriaId":"786ED182-5D71-4197-9196-12AB5CF05F85"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*","matchCriteriaId":"BF90980D-74AD-44AA-A7C5-A0B294CCE4F8"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*","matchCriteriaId":"48D6B69C-8F27-4F4C-B953-67A7F9C2FBA5"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*","matchCriteriaId":"B53DC0C3-EA19-4465-B65A-BC7CDB10D8BF"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*","matchCriteriaId":"BEA4DFC1-6C0C-42FB-9F47-E3E1AA9E47E0"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*","matchCriteriaId":"D904E21A-4B3B-4D96-850C-0C0315F14E6D"}]}]}],"references":[{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1cbd25ca15383394ffa9ee8601c5de4c0f2f90e1","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html","source":"cve@mitre.org"},{"url":"http://php.net/ChangeLog-5.php","source":"cve@mitre.org"},{"url":"https://bugs.php.net/bug.php?id=69737","source":"cve@mitre.org","tags":["Exploit"]},{"url":"https://www.htbridge.com/advisory/HTB23262","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1cbd25ca15383394ffa9ee8601c5de4c0f2f90e1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://php.net/ChangeLog-5.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.php.net/bug.php?id=69737","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"https://www.htbridge.com/advisory/HTB23262","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]}],"evaluatorComment":"<a href=\"http://cwe.mitre.org/data/definitions/416.html\">CWE 416: Use After Free</a>"}