Unscored severity · published Mar 24, 2014
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…
–
CVSS
3%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)3.0% · higher than 87% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
5.4.0 before 5.4.27; 5.5.0 before 5.5.11 · source: NVD
DL
Debian Linux · Debian
6.0; 7.0; 8.0 · source: NVD
FI
File · Christos Zoulas
before 5.15 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2013-7345
CVE.org
https://www.cve.org/CVERecord?id=CVE-2013-7345
Broken Link
http://bugs.gw.com/view.php?id=164
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
Issue Tracking
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993
Exploit
https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
