What’s Vulnerable › Vulnerabilities
CVE-2015-4604
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 7.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2016-05-16 · updated 2026-06-17
- Weakness: CWE-20
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.
Affected products
- PHP: through 5.4.39; 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5 (+26)
- Red Hat Enterprise Linux: 6.0, 7.0
- RedHat Enterprise Linux Desktop: 7.0
- RedHat Enterprise Linux Hpc Node: 7.0
- RedHat Enterprise Linux Hpc Node Eus: 7.1
- RedHat Enterprise Linux Server: 7.0
- RedHat Enterprise Linux Server Eus: 7.1
- RedHat Enterprise Linux Workstation: 7.0
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=f938112c495b0d26572435c0be73ac0bfe642ecd
- http://php.net/ChangeLog-5.php
- http://rhn.redhat.com/errata/RHSA-2015-1135.html
- http://rhn.redhat.com/errata/RHSA-2015-1186.html
- http://rhn.redhat.com/errata/RHSA-2015-1187.html
- http://www.openwall.com/lists/oss-security/2015/06/16/12
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/75241
- http://www.securitytracker.com/id/1032709
- https://bugs.php.net/bug.php?id=68819
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=f938112c495b0d26572435c0be73ac0bfe642ecd
- http://php.net/ChangeLog-5.php
Get alerted when CVE-2015-4604 or the next vulnerability affects your stack