Vulnerabilities · 2015 · Php
CVE-2015-8865
Php vulnerability
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
Php, Mac Os X. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.php.net/bug.php?id=71527 · Exploit
- bugs.gw.com/view.php?id=522
- git.php.net/?p=php-src.git%3Ba=commit%3Bh=fe13566c93f118a15a96320a546c7878fd0cfc5e
- lists.apple.com/archives/security-announce/2016/May/msg00004.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00057.html
- rhn.redhat.com/errata/RHSA-2016-2750.html
- www.debian.org/security/2016/dsa-3560
- www.openwall.com/lists/oss-security/2016/04/24/1
- nvd.nist.gov/vuln/detail/CVE-2015-8865
- cve.org/CVERecord?id=CVE-2015-8865
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.