CVE-2014-9653
HIGH
7.5
CVSS 2.0
Description
readelf.c in file before 5.22, 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 consider that pread calls sometimes read only a subset of the available data, which allows remote attackers to cause a denial of service (uninitialized memory access) or possibly have unspecified other impact via a crafted ELF 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=409
- marc.info http://marc.info/?l=bugtraq&m=143748090628601&w=2
- marc.info http://marc.info/?l=bugtraq&m=144050155601375&w=2
- mx.gw.com http://mx.gw.com/pipermail/file/2014/001649.html
- openwall.com http://openwall.com/lists/oss-security/2015/02/05/13
- php.net http://php.net/ChangeLog-5.php
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-0760.html
- www.debian.org http://www.debian.org/security/2015/dsa-3196
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- www.securityfocus.com http://www.securityfocus.com/bid/72516
- github.com https://github.com/file/file/commit/445c8fb0ebff85195be94cd9f7e1df89cade5c7f
- security.gentoo.org https://security.gentoo.org/glsa/201701-42
- usn.ubuntu.com https://usn.ubuntu.com/3686-1/
- nvd.nist.gov Official NVD record