CVE-2015-8865: Apple Mac OS X

High severity, CVSS 7.3. EPSS: 5.5% chance of exploitation in the next 30 days.

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

  • Apple Mac OS X: up to and including 10.11.4
  • PHP PHP: up to and including 5.5.33; version 5.6.0 only; version 5.6.1 only; version 5.6.2 only; version 5.6.3 only; version 5.6.4 only; …

Published 2016-05-20. Last modified 2026-06-17.