CVE-2013-7345Christos Zoulas File
Medium 5.0 No auth needed
Follow: this CVE · Christos Zoulas · Christos Zoulas File We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Mar 24, 2014
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
The BEGIN regular expression in the awk script detector in magic/Magdir/commands in file before 5.15 uses multiple wildcards with unlimited repetitions, which allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted ASCII file that triggers a large amount of backtracking, as demonstrated via a file with many newline characters.
What to do
- Apply the vendor's security update for File.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| christos_zoulas | file | < 5.15 |
| php | php | ≥ 5.4.0 < 5.4.27 |
| php | php | ≥ 5.5.0 < 5.5.11 |
| debian | debian_linux | 6.0 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.gw.com Broken Link Exploit Issue Tracking
- rhn.redhat.com Third Party Advisory
- support.apple.com Third Party Advisory
- www.debian.org Third Party Advisory
- bugs.debian.org Issue Tracking Third Party Advisory
- github.com Exploit Patch Third Party Advisory