Skip to content
OpenAdvisories
Unscored CVE-2015-4604 EUVD-2015-4624GHSA-6r6h-mwpx-cfrc

The mget function in softmagic.c in file 5.x, as used in the Fileinfo component in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before…

Published May 16, 2016 · Updated Aug 6, 2024 · Assigned by redhat

Description

The mget function in softmagic.c in file 5.x, as used in the Fileinfo component in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8, does not properly maintain a certain pointer relationship, which allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted string that is mishandled by a "Python script text executable" rule.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 6.0 php5 5.3.3.1-7+squeeze27 DLA-307-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.11 USN-2658-1
ReleasePackageFixed inAdvisory
RHEL 7 php +24 5.4.16-36.ael7b_1 RHSA-2015:1135
RHEL 2 php54 +2 2.0-1.el6 RHSA-2015:1066
RHEL 2 php54-php +24 5.4.40-1.el6 RHSA-2015:1066
RHEL 2 php54-php-pecl-zendopcache 7.0.4-3.el6 RHSA-2015:1066
RHEL 2 php55-php +26 5.5.21-4.el6 RHSA-2015:1186
RHEL 2 rh-php56-php +27 5.6.5-7.el6 RHSA-2015:1187

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 php +24 5.4.16-36.el7_1 ELSA-2015-1135
Oracle Linux 7 php54 +2 2.0-1.el7 ELSA-2015-1066
Oracle Linux 7 php54-php +22 5.4.40-1.el7 ELSA-2015-1066
Oracle Linux 7 php54-php-imap +1 5.4.40-1.el6 ELSA-2015-1066
Oracle Linux 7 php54-php-pecl-zendopcache 7.0.4-3.el7 ELSA-2015-1066
Oracle Linux 7 php55-php +24 5.5.21-4.el7 ELSA-2015-1186

Advisories 9

References