Skip to content

CVE-2015-8865 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, whic...

HighCVSS 7.3 EPSS 5.5%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
debian/file(Debian:12) < 1:5.24-1 1:5.24-1
debian/file(Debian:13) < 1:5.24-1 1:5.24-1
debian/file(Debian:14) < 1:5.24-1 1:5.24-1
PHP <= 5.5.33 No fix listed
PHP = 5.6.0-alpha1 No fix listed
PHP = 5.6.0-alpha2 No fix listed
PHP = 5.6.0-alpha3 No fix listed
PHP = 5.6.0-alpha4 No fix listed
PHP = 5.6.0-alpha5 No fix listed
PHP = 5.6.0-beta1 No fix listed
PHP = 5.6.0-beta2 No fix listed
PHP = 5.6.0-beta3 No fix listed
PHP = 5.6.0-beta4 No fix listed
PHP = 5.6.1 No fix listed
PHP = 5.6.2 No fix listed
PHP = 5.6.3 No fix listed
PHP = 5.6.4 No fix listed
PHP = 5.6.5 No fix listed
PHP = 5.6.6 No fix listed
PHP = 5.6.7 No fix listed
PHP = 5.6.8 No fix listed
PHP = 5.6.9 No fix listed
PHP = 5.6.10 No fix listed
PHP = 5.6.11 No fix listed
PHP = 5.6.12 No fix listed
Show 13 more
ProductAffected versionsFixed in
PHP = 5.6.13 No fix listed
PHP = 5.6.14 No fix listed
PHP = 5.6.15 No fix listed
PHP = 5.6.16 No fix listed
PHP = 5.6.17 No fix listed
PHP = 5.6.18 No fix listed
PHP = 5.6.19 No fix listed
PHP = 7.0.0 No fix listed
PHP = 7.0.1 No fix listed
PHP = 7.0.2 No fix listed
PHP = 7.0.3 No fix listed
PHP = 7.0.4 No fix listed
apple mac os x <= 10.11.4 No fix listed

References