CVE-2015-8865
Reported by mitre · Published May 20, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mac_os_x | apple | 10.11.4 |
| php | php | 5.5.33 |
| php5 | Ubuntu:14.04:LTS | 5.5.9+dfsg-1ubuntu4.16 |
| php7.0 | Ubuntu:16.04:LTS | 7.0.4-7ubuntu2.1 |
| file | Ubuntu:14.04:LTS | 1:5.14-2ubuntu3.4 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- May 20, 2016 CVE Published
- Nov 9, 2020 PoC Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 5, 2026 Security Advisory (12 in total, the first dated here)
- Oct 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-8865
vulnetix vdb fixes CVE-2015-8865
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-8865/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-2952-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-201611-22 vendor-advisoryx_refsource_GENTOO
- 85802 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- USN-3686-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2016:2750 vendor-advisoryx_refsource_REDHAT
- DSA-3560 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- USN-2952-2 vendor-advisoryx_refsource_UBUNTU
- USN-3686-2 vendor-advisoryx_refsource_UBUNTU
- APPLE-SA-2016-05-16-4 vendor-advisoryx_refsource_APPLE
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- openSUSE-SU-2016:1167 vendor-advisoryx_refsource_SUSE
- GLSA-201701-42 vendor-advisoryx_refsource_GENTOO
- [oss-security] 20160423 Re: CVE request: PHP issues fixed in 7.0.5, 5.6.20 and 5.5.34 releases mailing-listx_refsource_MLIST
- x_refsource_CONFIRM