CVE-2015-8865
publishedfile: Buffer over-write in finfo_open with malformed magic file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | php5 | Advisory build | 5.6.20+dfsg-0+deb8u1 | DSA-3560-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56src | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Ubuntu | trusty | file | Advisory build | 1:5.14-2ubuntu3.4 | USN-3686-1 |
| Debian | wheezy | file | Advisory build | 5.11-2+deb7u9 | DLA-460-1 |
| Debian | wheezy | php5 | Advisory build | 5.4.45-0+deb7u3 | DLA-499-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56x86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpsrc | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-bcmathx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-clix86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-commonx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbax86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbgx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-debuginfox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-develx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-embeddedx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-enchantx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-fpmx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gdx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-imapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-intlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-ldapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mbstringx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mysqlndx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-odbcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-opcachex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pdox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearnoarch | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearsrc | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pgsqlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-processx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pspellx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-recodex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-snmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-soapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-tidyx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlrpcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-runtimex86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-scldevelx86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56src | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56x86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-phpsrc | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-phpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-bcmathx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-clix86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-commonx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-dbax86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-dbgx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-debuginfox86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-develx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-embeddedx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-enchantx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-fpmx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-gdx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-gmpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-intlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-ldapx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-mbstringx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-mysqlndx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-odbcx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-opcachex86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pdox86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pearnoarch | Advisory build | 1:1.9.5-4.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pearsrc | Advisory build | 1:1.9.5-4.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pgsqlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-processx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pspellx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-recodex86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-snmpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-soapx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-xmlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-xmlrpcx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-runtimex86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-scldevelx86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Ubuntu | trusty | libmagic1 | Advisory build | 1:5.14-2ubuntu3.4 | USN-3686-1 |
| Ubuntu | trusty | python-magic | Advisory build | 1:5.14-2ubuntu3.4 | USN-3686-1 |
| Ubuntu | trusty | python3-magic | Advisory build | 1:5.14-2ubuntu3.4 | USN-3686-1 |
| Ubuntu | xenial | libapache2-mod-php7.0 | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | libphp7.0-embed | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0 | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-bcmath | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-bz2 | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-cgi | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-cli | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-common | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-curl | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-enchant | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-fpm | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-gd | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-gmp | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-imap | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-interbase | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-intl | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-json | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-ldap | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-mbstring | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-mcrypt | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-mysql | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
20- http://bugs.gw.com/view.php?id=522
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=fe13566c93f118a15a96320a546c7878fd0cfc5e
- APPLE-SA-2016-05-16-4 http://lists.apple.com/archives/security-announce/2016/May/msg00004.html
- openSUSE-SU-2016:1167 http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00057.html
- RHSA-2016:2750 http://rhn.redhat.com/errata/RHSA-2016-2750.html
- DSA-3560 http://www.debian.org/security/2016/dsa-3560
- [oss-security] 20160423 Re: CVE request: PHP issues fixed in 7.0.5, 5.6.20 and 5.5.34 releases http://www.openwall.com/lists/oss-security/2016/04/24/1
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/ChangeLog-7.php
- 85802 http://www.securityfocus.com/bid/85802
- USN-2952-1 http://www.ubuntu.com/usn/USN-2952-1
- USN-2952-2 http://www.ubuntu.com/usn/USN-2952-2
- https://bugs.php.net/bug.php?id=71527
- https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- GLSA-201611-22 https://security.gentoo.org/glsa/201611-22
- GLSA-201701-42 https://security.gentoo.org/glsa/201701-42
- https://support.apple.com/HT206567
- USN-3686-1 https://usn.ubuntu.com/3686-1/
- USN-3686-2 https://usn.ubuntu.com/3686-2/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d3f47e77f6367563d34ad0aa23d78b787d0fc1ed962579596cac83d0edead945
- Ingested
- 23 Sep 2026, 07:40:54 UTC
- Source record
- Official CVE record