CVE-2013-7345
Reported by mitre · Published March 23, 2014
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| file | Ubuntu:14.04:LTS | 1:5.14-2ubuntu3.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Mar 23, 2014 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 5, 2026 Security Advisory (3 in total, the first dated here)
- May 6, 2026 CVE Updated
- Oct 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2013-7345
vulnetix vdb fixes CVE-2013-7345
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-7345/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2014:1765 vendor-advisoryx_refsource_REDHAT
- DSA-2873 vendor-advisoryx_refsource_DEBIAN