All vulnerabilities

Servers and applications

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.

Severity
Medium 5.0
Published
24 Mar 2014
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Fixed in
5.4.27, 5.5.11
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 5.4.0 before 5.4.27
  • From 5.5.0 before 5.5.11

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2013-7345
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2013-7345