CVE-2015-8865

high
Published 2016-05-20 ยท Modified 2026-05-06
CVSS v3
7.3
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.3

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.

Predictions

Exploit likelihood
72%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed1:5.24-1
debian debianbullseyefixed1:5.24-1
debian debianforkyfixed1:5.24-1
debian debiansidfixed1:5.24-1
debian debiantrixiefixed1:5.24-1
macos macosaffected

Application impact

VendorProductVersionsFixed
php phpphp{"endIncluding":"5.5.33"}
php phpphp5.6.0
php phpphp5.6.1
php phpphp5.6.2
php phpphp5.6.3
php phpphp5.6.4
php phpphp5.6.5
php phpphp5.6.6
php phpphp5.6.7
php phpphp5.6.8
php phpphp5.6.9
php phpphp5.6.10
php phpphp5.6.11
php phpphp5.6.12
php phpphp5.6.13
php phpphp5.6.14
php phpphp5.6.15
php phpphp5.6.16
php phpphp5.6.17
php phpphp5.6.18
php phpphp5.6.19
php phpphp7.0.0
php phpphp7.0.1
php phpphp7.0.2
php phpphp7.0.3
php phpphp7.0.4

References

CWEs

CWE-119

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.