CVE-2013-7345
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.
Key facts
- CVSS score
- 5.0 (v2.0)
- Severity
- MEDIUM
- CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P- EPSS score
- 3.0% (88th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2013-7117)
- Published
- March 24, 2014
- NVD last modified
- June 17, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2013-7117 in the EU Vulnerability Database. Last updated in EUVD on August 6, 2024.
View on the EU Vulnerability DatabaseAffected products
- christos zoulas / file
- debian / debian linux
- debian / debian linux
- debian / debian linux
- php / php
References
- http://bugs.gw.com/view.php?id=164(Broken Link, Exploit, Issue Tracking, Patch, Third Party Advisory)
- http://rhn.redhat.com/errata/RHSA-2014-1765.html(Third Party Advisory)
- http://support.apple.com/kb/HT6443(Third Party Advisory)
- http://www.debian.org/security/2014/dsa-2873(Third Party Advisory)
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993(Issue Tracking, Third Party Advisory)
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c(Exploit, Patch, Third Party Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain