CVE-2014-9652
MEDIUM
5.0
CVSS 2.0
Description
The mconvert function in softmagic.c in file before 5.21, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does not properly handle a certain string-length field during a copy of a truncated version of a Pascal string, which might allow remote attackers to cause a denial of service (out-of-bounds memory access and application crash) via a crafted file.
Affected products and versions
- PHP — Up to and including 5.4.36
- PHP versions 5.5.0, 5.5.0alpha1, 5.5.0alpha2, 5.5.0alpha3, 5.5.0alpha4, 5.5.0alpha5, 5.5.0alpha6, 5.5.0beta1, 5.5.0beta2, 5.5.0beta3, 5.5.0beta4, 5.5.0rc1, 5.5.0rc2, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5, 5.5.6, 5.5.7, 5.5.8, 5.5.9, 5.5.10, 5.5.11, 5.5.12, 5.5.13, 5.5.14, 5.5.15, 5.5.16, 5.5.17, 5.5.18, 5.5.19, 5.5.20, 5.6.0alpha1, 5.6.0alpha2, 5.6.0alpha3, 5.6.0alpha4, 5.6.0alpha5, 5.6.0beta1, 5.6.0beta2, 5.6.0beta3, 5.6.0beta4, 5.6.1, 5.6.2, 5.6.3, 5.6.4
References
- bugs.gw.com http://bugs.gw.com/view.php?id=398
- lists.apple.com http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00002.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00003.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-03/msg00004.html
- marc.info http://marc.info/?l=bugtraq&m=143748090628601&w=2
- marc.info http://marc.info/?l=bugtraq&m=144050155601375&w=2
- openwall.com http://openwall.com/lists/oss-security/2015/02/05/12
- php.net http://php.net/ChangeLog-5.php
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1053.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1066.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-1135.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- www.securityfocus.com http://www.securityfocus.com/bid/72505
- bugs.php.net https://bugs.php.net/bug.php?id=68735
- bugs.php.net https://bugs.php.net/patch-display.php?bug=68735&patch=bug68735.patch&revision=1420309079
- github.com https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158
- security.gentoo.org https://security.gentoo.org/glsa/201701-42
- support.apple.com https://support.apple.com/HT205267
- nvd.nist.gov Official NVD record