CVE-2015-4605Php
High 7.5 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.0
- 7.5
- EPSS
- 7.1% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- May 16, 2016
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The mcopy 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 restrict a certain offset value, 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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≤ 5.4.39 |
| php | php | 5.5.0 |
| php | php | 5.5.1 |
| php | php | 5.5.2 |
| php | php | 5.5.3 |
| php | php | 5.5.4 |
| php | php | 5.5.5 |
| php | php | 5.5.6 |
| php | php | 5.5.7 |
| php | php | 5.5.8 |
| php | php | 5.5.9 |
| php | php | 5.5.10 |
| php | php | 5.5.11 |
| php | php | 5.5.12 |
| php | php | 5.5.13 |
| php | php | 5.5.14 |
| php | php | 5.5.15 |
| php | php | 5.5.16 |
| php | php | 5.5.17 |
| php | php | 5.5.18 |
| php | php | 5.5.19 |
| php | php | 5.5.20 |
| php | php | 5.5.21 |
| php | php | 5.5.22 |
| php | php | 5.5.23 |
| php | php | 5.6.0 |
| php | php | 5.6.1 |
| php | php | 5.6.2 |
| php | php | 5.6.3 |
| php | php | 5.6.4 |
| php | php | 5.6.5 |
| php | php | 5.6.6 |
| php | php | 5.6.7 |
| 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 |
| redhat | enterprise_linux | 6.0 |
| redhat | enterprise_linux | 7.0 |
Official sources
References
Links published by the sources. Open them with care.