CVE-2015-8865Improper Restriction of Operations within the Bounds of a Memory Buffer in Apple MAC OS X

Severity
7.3HIGHNVD
EPSS
1.0%
top 22.81%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 20
Latest updateMay 14

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:HExploitability: 1.3 | Impact: 5.9

Affected Packages4 packages

Debianfile_project/file< 1:5.24-1+3
Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.17
NVDphp/php5.5.33+25
NVDapple/mac_os_x10.11.4

🔴Vulnerability Details

4
GHSA
GHSA-p546-wvpp-2wvf: The file_check_mem function in funcs2022-05-14
OSV
php5, php7.0 vulnerabilities2016-05-24
OSV
CVE-2015-8865: The file_check_mem function in funcs2016-05-20
CVEList
CVE-2015-8865: The file_check_mem function in funcs2016-05-20

📋Vendor Advisories

6
Ubuntu
file vulnerabilities2018-06-28
Ubuntu
file vulnerabilities2018-06-14
Ubuntu
PHP vulnerabilities2016-05-24
Red Hat
file: Buffer over-write in finfo_open with malformed magic file2016-02-23
Debian
CVE-2015-8865: file - The file_check_mem function in funcs.c in file before 5.23, as used in the Filei...2015

💬Community

2
Bugzilla
CVE-2015-8865 php: file: Buffer over-write in finfo_open with malformed magic file [fedora-all]2016-04-04
Bugzilla
CVE-2015-8865 file: Buffer over-write in finfo_open with malformed magic file2016-04-01
CVE-2015-8865 — Apple MAC OS X vulnerability | cvebase