CVE-2015-8865

file: Buffer over-write in finfo_open with malformed magic file

Published May 20, 2016 CVSS 3.0 · 7.3 High EPSS 5.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-460-1 file security update
Debian DLA Debian DLA DLA-499-1 php5 security update
Debian DSA Debian DSA DSA-3560-1 php5 security update
EUVD EUVD EUVD-2015-8721 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.
Ubuntu USN Ubuntu USN USN-2984-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-3686-1 file vulnerabilities
Ubuntu USN Ubuntu USN USN-3686-2 file vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.04485}

epss

{'score': 0.06088}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 8:29 AM
Reserved
Apr 23, 2016, 12:00 AM
Status
Modified
Published
May 20, 2016, 10:59 AM
Modified
Jun 17, 2026, 12:35 AM
Severity
Low
Public date
Feb 23, 2016, 12:00 AM