Skip to main content
No exploitation reportedFix available

CVE-2015-5589

No exploitation reported by the sources we read.

  • Published2016-05-16
  • WeaknessCWE-20

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

The phar_convert_to_other function in ext/phar/phar_object.c in PHP before 5.4.43, 5.5.x before 5.5.27, and 5.6.x before 5.6.11 does not validate a file pointer before a close operation, which allows remote attackers to cause a denial of service (segmentation fault) or possibly have unspecified other impact via a crafted TAR archive that is mishandled in a Phar::convertToData call.

Timeline

dates in UTC
  1. 2016-05-1610:59CVE publishedNVD

Versions per branch

NVD
PHP
BranchAffectedFixed in
5.6= 5.6.0no fix published
5.6= 5.6.1no fix published
5.6= 5.6.2no fix published
5.6= 5.6.3no fix published
5.6= 5.6.4no fix published
5.6= 5.6.5no fix published
5.6= 5.6.6no fix published
5.6= 5.6.7no fix published
5.6= 5.6.8no fix published
5.6= 5.6.9no fix published
5.6= 5.6.10no fix published
5.5= 5.5.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • phpMageia:4all versions · fixed in 5.5.27-1.mga4
  • php-apcMageia:4all versions · fixed in 3.1.15-4.17.mga4
  • php5Ubuntu:14.04:LTSall versions · fixed in 5.5.9+dfsg-1ubuntu4.13
  • php5SUSE:Linux Enterprise Software Development Kit 12all versions · fixed in 5.5.14-33.2
  • php5SUSE:Linux Enterprise Module for Web and Scripting 12all versions · fixed in 5.5.14-33.2
  • php5Debian:8all versions · fixed in 5.6.12+dfsg-0+deb8u1
  • php5Debian:7all versions · fixed in 5.4.44-0+deb7u1
  • php5Debian:6.0all versions · fixed in 5.3.3.1-7+squeeze27

10 more package ranges on OSV.dev

Vendor advisories

  • CVE-2015-5589 Red Hat Product Security240 products fixed · 110 known affected

    php: segmentation fault in Phar::convertToData on invalid file

    php.src as a component of Red Hat Enterprise Linux 5 · php53.src as a component of Red Hat Enterprise Linux 5 · php as a component of Red Hat Enterprise Linux 6 · +107 more

  • RHSA-2016:0457 Red Hat Product Security240 products fixed

    Red Hat Security Advisory: rh-php56-php security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2016:0457 · 240 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  2. No fix planned, says the vendor Red Hat Product Security CVE-2015-5589 · 110 productsWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2016-05-16
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-w5qc-4r89-xv6r

Frequently asked questions

What is CVE-2015-5589?

The phar_convert_to_other function in ext/phar/phar_object.c in PHP before 5.4.43, 5.5.x before 5.5.27, and 5.6.x before 5.6.11 does not validate a file pointer before a close operation, which allows remote attackers to cause a denial of service (segmentation fault) or possibly have unspecified other impact via a crafted TAR archive that is mishandled in a Phar::convertToData call.

Is CVE-2015-5589 actively exploited?

Active exploitation of CVE-2015-5589 has not been confirmed. Its EPSS score was 6.3% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2015-5589?

CVE-2015-5589 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running PHP? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record