CVE-2015-2301: Apple Mac OS X

High severity, CVSS 7.5. EPSS: 14.7% chance of exploitation in the next 30 days.

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.

Affected products

  • Apple Mac OS X: up to and including 10.10.4
  • Canonical Ubuntu Linux: version 10.04 only; version 12.04 only; version 14.04 only; version 14.10 only
  • Debian Debian Linux: version 7.0 only
  • Opensuse Opensuse: version 13.1 only; version 13.2 only
  • PHP PHP: from 5.4.0, before 5.4.40 (fixed in 5.4.40); from 5.5.0, before 5.5.22 (fixed in 5.5.22); from 5.6.0, before 5.6.6 (fixed in 5.6.6)
  • Red Hat Enterprise Linux Desktop: version 7.0 only
  • Red Hat Enterprise Linux Hpc Node: version 7.0 only
  • Red Hat Enterprise Linux Hpc Node Eus: version 7.1 only
  • Red Hat Enterprise Linux Server: version 7.0 only
  • Red Hat Enterprise Linux Server Eus: version 7.1 only
  • Red Hat Enterprise Linux Workstation: version 7.0 only

Published 2015-03-30. Last modified 2026-06-17.