CVE-2015-8865

Summary

CVECVE-2015-8865
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-05-20 10:59:00 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe file_check_mem function in funcs.c in file before 5.23, as used in the Fileinfo component in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5, mishandles continuation-level jumps, which allows context-dependent attackers to cause a denial of service (buffer overflow and application crash) or possibly execute arbitrary code via a crafted magic file.

Risk And Classification

Primary CVSS: v3.0 7.3 HIGH from [email protected]

CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Problem Types: CWE-119 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary7.3HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
2.0[email protected]Primary7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Apple Mac Os X All All All All
Application Php Php 5.6.0 alpha1 All All
Application Php Php 5.6.0 alpha2 All All
Application Php Php 5.6.0 alpha3 All All
Application Php Php 5.6.0 alpha4 All All
Application Php Php 5.6.0 alpha5 All All
Application Php Php 5.6.0 beta1 All All
Application Php Php 5.6.0 beta2 All All
Application Php Php 5.6.0 beta3 All All
Application Php Php 5.6.0 beta4 All All
Application Php Php 5.6.1 All All All
Application Php Php 5.6.10 All All All
Application Php Php 5.6.11 All All All
Application Php Php 5.6.12 All All All
Application Php Php 5.6.13 All All All
Application Php Php 5.6.14 All All All
Application Php Php 5.6.15 All All All
Application Php Php 5.6.16 All All All
Application Php Php 5.6.17 All All All
Application Php Php 5.6.18 All All All
Application Php Php 5.6.19 All All All
Application Php Php 5.6.2 All All All
Application Php Php 5.6.3 All All All
Application Php Php 5.6.4 All All All
Application Php Php 5.6.5 All All All
Application Php Php 5.6.6 All All All
Application Php Php 5.6.7 All All All
Application Php Php 5.6.8 All All All
Application Php Php 5.6.9 All All All
Application Php Php 7.0.0 All All All
Application Php Php 7.0.1 All All All
Application Php Php 7.0.2 All All All
Application Php Php 7.0.3 All All All
Application Php Php 7.0.4 All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Document Display | HPE Support Center af854a3a-2127-422b-91ae-364da2661108 h20566.www2.hpe.com
USN-3686-2: file vulnerabilities | Ubuntu security notices af854a3a-2127-422b-91ae-364da2661108 usn.ubuntu.com
oss-security - Re: CVE request: PHP issues fixed in 7.0.5, 5.6.20 and 5.5.34 releases af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
PHP 'finfo_open()' Function Denial of Service Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
[security-announce] openSUSE-SU-2016:1167-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
About the security content of OS X El Capitan v10.11.5 and Security Update 2016-003 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com
USN-2952-2: PHP regression | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
208.43.231.11 Git - php-src.git/commit af854a3a-2127-422b-91ae-364da2661108 git.php.net
Debian -- Security Information -- DSA-3560-1 php5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net
PHP: Multiple vulnerabilities (GLSA 201611-22) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
PHP: PHP 7 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net
USN-2952-1: PHP vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
file: Multiple vulnerabilities (GLSA 201701-42) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
APPLE-SA-2016-05-16-4 OS X El Capitan 10.11.5 and Security Update 2016-003 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
PR/454: Fix memory corruption when the continuation level jumps by mo… · file/file@6713ca4 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com
PHP :: Sec Bug #71527 :: Buffer over-write in finfo_open with malformed magic file. af854a3a-2127-422b-91ae-364da2661108 bugs.php.net Exploit
USN-3686-1: file vulnerabilities | Ubuntu security notices | Ubuntu af854a3a-2127-422b-91ae-364da2661108 usn.ubuntu.com
bugs.gw.com/view.php af854a3a-2127-422b-91ae-364da2661108 bugs.gw.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
208.43.231.11 Git - php-src.git/commit MITRE git.php.net
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710357 Gentoo Linux file Multiple Vulnerabilities (GLSA 201701-42)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report