Back
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…
Medium5.0EPSS 3.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 3.0% · top 12% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (6)
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://bugs.gw.com/view.php?id=164 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://support.apple.com/kb/HT6443 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2014:1765 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-2873 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2013-7345)Record last updated .