Read the docs
TI-2015-02032 Aliases CVE-2015-2301GHSA-q362-2hc9-hr5r

Use-after-free vulnerability in the phar_rename_archive function in phar_object.c in PHP…

Priority MEDIUM 48CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Partial Red Hat: 19 fixed, 2 without a fix

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.1467 96th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial Red Hat: 4 advisoriesRed Hat: 19 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 15

CPEVersionsRoleVendor
cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:*10.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*12.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*14.10VulnerableCanonical
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*7.0VulnerableDebian
cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:*13.1VulnerableopenSUSE
cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*13.2VulnerableopenSUSE
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*5.4.0 to before 5.4.40; 5.5.0 to before 5.5.22; 5.6.0 to before 5.6.6VulnerablePHP
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*up to 10.10.4VulnerableApple
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
  • cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:* Versions 10.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* Versions 14.10 Vulnerable ·Canonical
  • cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
  • cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* Versions 13.1 Vulnerable ·openSUSE
  • cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* Versions 13.2 Vulnerable ·openSUSE
  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.4.0 to before 5.4.40; 5.5.0 to before 5.5.22; 5.6.0 to before 5.6.6 Vulnerable ·PHP
  • cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions up to 10.10.4 Vulnerable ·Apple
  • cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Show 5 more CPE
CPEVersionsRoleVendor
cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.1:*:*:*:*:*:*:*7.1VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.1:*:*:*:*:*:*:*7.1VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
  • cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.1:*:*:*:*:*:*:* Versions 7.1 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_server_eus:7.1:*:*:*:*:*:*:* Versions 7.1 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat

Remediation

Red Hat 4 advisories

  • RHSA-2015:1218 Released 2015-07-09 · Red Hat rating Moderate
    php security update
    • Red Hat Enterprise Linux Desktop Optional (v. 6) php-5.3.3-46.el6_6, php-bcmath-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6 +24
    • Red Hat Enterprise Linux HPC Node (v. 6) php-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6, php-common-5.3.3-46.el6_6
    • Red Hat Enterprise Linux HPC Node Optional (v. 6) php-5.3.3-46.el6_6, php-bcmath-5.3.3-46.el6_6, php-dba-5.3.3-46.el6_6 +22
    • Red Hat Enterprise Linux Server (v. 6) php-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6, php-common-5.3.3-46.el6_6 +9
    • Red Hat Enterprise Linux Server Optional (v. 6) php-bcmath-5.3.3-46.el6_6, php-dba-5.3.3-46.el6_6, php-devel-5.3.3-46.el6_6 +12
    • Red Hat Enterprise Linux Workstation (v. 6) php-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6, php-common-5.3.3-46.el6_6 +9
    • Red Hat Enterprise Linux Workstation Optional (v. 6) php-bcmath-5.3.3-46.el6_6, php-dba-5.3.3-46.el6_6, php-devel-5.3.3-46.el6_6 +12
  • RHSA-2015:1135 Released 2015-06-23 · Red Hat rating Important
    php security and bug fix update
    • Red Hat Enterprise Linux Client Optional (v. 7) php-5.4.16-36.el7_1, php-bcmath-5.4.16-36.el7_1, php-cli-5.4.16-36.el7_1 +22
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) php-5.4.16-36.el7_1, php-bcmath-5.4.16-36.el7_1, php-cli-5.4.16-36.el7_1 +22
    • Red Hat Enterprise Linux Server (v. 7) php-5.4.16-36.ael7b_1, php-5.4.16-36.el7_1, php-cli-5.4.16-36.ael7b_1 +25
    • Red Hat Enterprise Linux Server Optional (v. 7) php-bcmath-5.4.16-36.ael7b_1, php-bcmath-5.4.16-36.el7_1, php-dba-5.4.16-36.ael7b_1 +19
    • Red Hat Enterprise Linux Workstation (v. 7) php-5.4.16-36.el7_1, php-cli-5.4.16-36.el7_1, php-common-5.4.16-36.el7_1 +11
    • Red Hat Enterprise Linux Workstation Optional (v. 7) php-bcmath-5.4.16-36.el7_1, php-dba-5.4.16-36.el7_1, php-devel-5.4.16-36.el7_1 +8
  • RHSA-2015:1053 Released 2015-06-04 · Red Hat rating Moderate
    php55 security and bug fix update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php55-2.0-1.el7, php55-php-5.5.21-2.el7, php55-php-bcmath-5.5.21-2.el7 +25
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php55-2.0-1.el7, php55-php-5.5.21-2.el7, php55-php-bcmath-5.5.21-2.el7 +25
Show 1 more Red Hat advisories
  • RHSA-2015:1066 Released 2015-06-04 · Red Hat rating Important
    php54 security and bug fix update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php54-2.0-1.el7, php54-php-5.4.40-1.el7, php54-php-bcmath-5.4.40-1.el7 +24
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php54-2.0-1.el7, php54-php-5.4.40-1.el7, php54-php-bcmath-5.4.40-1.el7 +24

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Software CollectionsAffectedNo fix yet
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2015:1135
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2015:1135
Red Hat Enterprise Linux Desktop Optional (v. 6)Fixed RHSA-2015:1218
Red Hat Enterprise Linux HPC Node (v. 6)Fixed RHSA-2015:1218
Red Hat Enterprise Linux HPC Node Optional (v. 6)Fixed RHSA-2015:1218
Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2015:1218
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2015:1135
Red Hat Enterprise Linux Server Optional (v. 6)Fixed RHSA-2015:1218
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2015:1135
Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2015:1218
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2015:1135
Red Hat Enterprise Linux Workstation Optional (v. 6)Fixed RHSA-2015:1218
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2015:1135
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2015:1053, RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2015:1053, RHSA-2015:1066
Not affected: 2 products
  • Red Hat Enterprise Linux 5
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2015-2301
  2. 2026-10-03 Alias added: GHSA-q362-2hc9-hr5r

References

Sources