CVE & CISA-KEV Catalog

CVE-2013-7345

MEDIUMEPSS 86th pctl
5.0
CVSS v2
NVD

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.

How to fix

Remediation Available
fileDebian
Fixed in:1:5.17-0.1CVE-2013-7345
Fixed in:1:5.17-0.1CVE-2013-7345
Fixed in:1:5.17-0.1CVE-2013-7345
Fixed in:1:5.17-0.1CVE-2013-7345
fileUbuntu
Fixed in:1:5.14-2ubuntu3.1USN-2278-1
libmagic1Ubuntu
Fixed in:1:5.14-2ubuntu3.1USN-2278-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v2 Vector

No CVSS vector data available.

Exploit Intelligence

3.04%probability of exploitation in 30 days
86thpercentile

Elevated risk: more likely to be exploited than 86% of all known CVEs.

References

Embed a live status badge for CVE-2013-7345
CVE-2013-7345 severity badge

Markdown

[![CVE-2013-7345](https://tridentstack.com/cve/badge/CVE-2013-7345.svg)](https://tridentstack.com/cve/CVE-2013-7345)

HTML

<a href="https://tridentstack.com/cve/CVE-2013-7345"><img src="https://tridentstack.com/cve/badge/CVE-2013-7345.svg" alt="CVE-2013-7345"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-06.