CVE-2015-5589
No exploitation reported by the sources we read.
- Published2016-05-16
- WeaknessCWE-20
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2016-05-1610:59CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.6 | = 5.6.0 | no fix published | NVD |
| 5.6 | = 5.6.1 | no fix published | NVD |
| 5.6 | = 5.6.2 | no fix published | NVD |
| 5.6 | = 5.6.3 | no fix published | NVD |
| 5.6 | = 5.6.4 | no fix published | NVD |
| 5.6 | = 5.6.5 | no fix published | NVD |
| 5.6 | = 5.6.6 | no fix published | NVD |
| 5.6 | = 5.6.7 | no fix published | NVD |
| 5.6 | = 5.6.8 | no fix published | NVD |
| 5.6 | = 5.6.9 | no fix published | NVD |
| 5.6 | = 5.6.10 | no fix published | NVD |
| 5.5 | = 5.5.0 | no fix published | NVD |
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
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
Red Hat Security Advisory: rh-php56-php security update
Fix
- 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
- 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
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.09.8read 2026-10-23
- NVDCVSS 2.010read 2026-10-23
- NVDweakness (CWE)CWE-20read 2026-10-23
- FIRST EPSSEPSS score6.3 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2015-5543same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-w5qc-4r89-xv6rsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-307-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-3344-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2015-0276advisory covering several CVEsMageia · LicenseRef-unstated
- RHSA-2016:0457advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2015:1425-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2015:1466-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2016:1638-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-2758-1advisory covering several CVEsUbuntu
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?
Is CVE-2015-5589 actively exploited?
What is the CVSS score for CVE-2015-5589?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-w5qc-4r89-xv6r
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0