CVE-2013-7345
file < 5.15 - Denial of Service via Crafted ASCII File with Excessive Newlines
Title source: llmDescription
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.
References (6)
Core 6
Core References
Exploit, Patch, Third Party Advisory x_refsource_confirm
https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993
Broken Link, Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
http://bugs.gw.com/view.php?id=164
Third Party Advisory x_refsource_confirm
http://support.apple.com/kb/HT6443
Third Party Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2014-1765.html
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2014/dsa-2873
Scores
EPSS
0.0113
EPSS Percentile
78.5%
Details
Status
published
Products (5)
christos_zoulas/file
< 5.15
debian/debian_linux
6.0
debian/debian_linux
7.0
debian/debian_linux
8.0
php/php
5.4.0 - 5.4.27
Published
Mar 24, 2014
Tracked Since
Feb 18, 2026