CVE-2013-7345: Medium severity Christos Zoulas file vulnerability

Published Mar 23, 2014
·
Updated

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.

Affected Software

6 affected components
Christos Zoulas file<5.15
PHP PHP>=5.4.0<5.4.27
PHP PHP>=5.5.0<5.5.11
Debian Debian Linux=6.0
Debian Debian Linux=7.0
Debian Debian Linux=8.0

Event History

Mar 23, 2014
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Mar 24, 2014
Data Sourced
via NVD·04:31 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-7345?

CVE-2013-7345 is classified as a denial of service vulnerability due to excessive CPU consumption.

2

How do I fix CVE-2013-7345?

To mitigate CVE-2013-7345, update the affected file utility to version 5.15 or later.

3

What software is affected by CVE-2013-7345?

CVE-2013-7345 affects the 'file' utility versions prior to 5.15 and specific versions of PHP on various Debian Linux distributions.

4

What type of attack does CVE-2013-7345 enable?

CVE-2013-7345 allows attackers to cause a denial of service by using crafted ASCII files that exploit the vulnerable regular expression.

5

When was CVE-2013-7345 reported?

CVE-2013-7345 was reported in 2013 and affects several versions of file and PHP utilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203