# CVE-2015-4604

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2016-05-16 · Modified: 2024-08-06
- Aliases: UBUNTU-CVE-2015-4604
- Record: https://cvemate.com/vulnerability/CVE-2015-4604 · JSON: https://cvemate.com/vulnerability/CVE-2015-4604/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 7.105%, percentile 94.403%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- ubuntu php5 (Ubuntu): \< 5.5.9+dfsg-1ubuntu4.9
- php php: ≤ 5.4.39 \| 5.5.0 \| 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.5.21 \| 5.5.22 \| 5.5.23 \| 5.6.0 \| 5.6.1 \| 5.6.2 \| 5.6.3 \| 5.6.4 \| 5.6.5 \| 5.6.6 \| 5.6.7
- redhat 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://rhn.redhat.com/errata/RHSA-2015-1187.html>
- <http://www.securitytracker.com/id/1032709>
- <http://rhn.redhat.com/errata/RHSA-2015-1186.html>
- <https://bugs.php.net/bug.php?id=68819>
- <http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html>
- <http://www.securityfocus.com/bid/75241>
- <http://php.net/ChangeLog-5.php>
- <http://www.openwall.com/lists/oss-security/2015/06/16/12>
- <http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=f938112c495b0d26572435c0be73ac0bfe642ecd>
- <http://rhn.redhat.com/errata/RHSA-2015-1135.html>
- <https://ubuntu.com/security/CVE-2015-4604>
- <https://ubuntu.com/security/notices/USN-2658-1>
- <https://www.cve.org/CVERecord?id=CVE-2015-4604>

---

Data as of 2026-12-05T03:25:41.452Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
