Back

HIGH

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

Published May 20, 2016

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.

Affected products

Remediation

Red Hat mitigation

Do not use untrusted magic files.

Metrics

References (24)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published May 20, 2016
Updated Aug 6, 2024
Reserved Apr 23, 2016
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Feb 23, 2016