CVE-2013-7345
mediumpriority · track · 21EPSS 0.030 · 87 %ileEURUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
No weakness (CWE) mapping recorded.
affected products (8)
Products and version ranges known to be affected.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- http://bugs.gw.com/view.php?id=164cnnvd
- http://rhn.redhat.com/errata/RHSA-2014-1765.htmlcnnvd
- http://support.apple.com/kb/HT6443cnnvd
- http://www.darwinsys.com/file/Patchcnnvd
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993cnnvd
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467ccnnvd
- https://www.debian.org/security/2014/dsa-2873cnnvd
- http://bugs.gw.com/view.php?id=164enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan