CVE & CISA-KEV Catalog

CVE-2015-8865

HIGHEPSS 91th pctl
7.3
CVSS v3
NVD

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.

How to fix

Remediation Available
fileDebian
Fixed in:1:5.24-1CVE-2015-8865
Fixed in:1:5.24-1CVE-2015-8865
Fixed in:1:5.24-1CVE-2015-8865
Fixed in:1:5.24-1CVE-2015-8865
fileUbuntu
Fixed in:1:5.14-2ubuntu3.4USN-3686-1
Fixed in:1:5.25-2ubuntu1.1USN-3686-1
Fixed in:1:5.32-2ubuntu0.1USN-3686-1
libapache2-mod-php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.17USN-2984-1
libapache2-mod-php7.0Ubuntu
Fixed in:7.0.4-7ubuntu2.1USN-2984-1
libmagic1Ubuntu
Fixed in:1:5.14-2ubuntu3.4USN-3686-1
Fixed in:1:5.25-2ubuntu1.1USN-3686-1
Fixed in:1:5.32-2ubuntu0.1USN-3686-1
php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.17USN-2984-1
php5-cgiUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.17USN-2984-1
php5-cliUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.17USN-2984-1
php5-fpmUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.17USN-2984-1
php7.0Ubuntu
Fixed in:7.0.4-7ubuntu2.1USN-2984-1
php7.0-cgiUbuntu
Fixed in:7.0.4-7ubuntu2.1USN-2984-1
php7.0-cliUbuntu
Fixed in:7.0.4-7ubuntu2.1USN-2984-1
php7.0-fpmUbuntu
Fixed in:7.0.4-7ubuntu2.1USN-2984-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

4.98%probability of exploitation in 30 days
91stpercentile

High risk: more likely to be exploited than 91% of all known CVEs.

References

Related Vulnerabilities

Other CWE-119 (Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-4966Critical9.4100%KEV + RansomFix
CVE-2017-11882High7.8100%KEV + Ransom-
CVE-2020-0796Critical10.0100%KEV + Ransom-
CVE-2008-4250Critical9.899%KEV-
CVE-2017-15944Critical9.898%KEVFix
CVE-2015-0014High10.097%--
Embed a live status badge for CVE-2015-8865
CVE-2015-8865 severity badge

Markdown

[![CVE-2015-8865](https://tridentstack.com/cve/badge/CVE-2015-8865.svg)](https://tridentstack.com/cve/CVE-2015-8865)

HTML

<a href="https://tridentstack.com/cve/CVE-2015-8865"><img src="https://tridentstack.com/cve/badge/CVE-2015-8865.svg" alt="CVE-2015-8865"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-06.