CVE-2013-7345

medium
Published 2014-03-24 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.0

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed1:5.17-0.1
debian debianbullseyefixed1:5.17-0.1
debian debianforkyfixed1:5.17-0.1
debian debiansidfixed1:5.17-0.1
debian debiantrixiefixed1:5.17-0.1
debian debian6.0affected
debian debian7.0affected
debian debian8.0affected

Application impact

VendorProductVersionsFixed
christos_zoulasfile{"endExcluding":"5.15"}5.15
php phpphp{"startIncluding":"5.4.0","endExcluding":"5.4.27"}5.4.27

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.