High severity · published May 20, 2016
CVE-2015-8865
The 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…
7.3
CVSS
5.5%
EPSS
No
On KEV
Description
The 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.
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)5.5% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.5.33; 5.6.0; 5.6.0; 5.6.0; 5.6.0; 5.6.0; +28 more · source: NVD
MO
Mac OS X · Apple
through 10.11.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-8865
CVE.org
https://www.cve.org/CVERecord?id=CVE-2015-8865
bugs.gw.com
http://bugs.gw.com/view.php?id=522
git.php.net
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=fe13566c93f118a15a96320a546c7878fd0cfc5e
lists.apple.com
http://lists.apple.com/archives/security-announce/2016/May/msg00004.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00057.html
rhn.redhat.com
http://rhn.redhat.com/errata/RHSA-2016-2750.html
www.debian.org
http://www.debian.org/security/2016/dsa-3560
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
