CVE-2015-2301: Use-after-free vulnerability in the phar_rename_archive function in phar_object.c in PHP before 5.5.22 and 5.6.x before 5.6.6 allows remo…
CVE-2015-2301 affects 9 listed versions of PHP in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
PHP
9 of 250 listed versions are affected. Fixed in 5.4.40. The newest release, 8.6.0, is not affected.
5.4.39 5.4.38 5.4.37 5.4.36 5.4.35 5.4.34 5.4.33 5.4.32 5.4.31
What it is
Use-after-free vulnerability in the phar_rename_archive function in phar_object.c in PHP before 5.5.22 and 5.6.x before 5.6.6 allows remote attackers to cause a denial of service or possibly have unspecified other impact via vectors that trigger an attempted renaming of a Phar archive to the name of an existing file.
AV:N/AC:L/Au:N/C:P/I:P/A:P (NVD)
Published by MITRE on 30 March 2015. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2015-2301 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.