cve.bz

CVE-2013-7345

no score yetExploit referenceEPSS 3.0%Fix available

No CVSS score yet. EPSS 3.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-7345 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-7345?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-7345?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-7345 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
christos_zoulas:filebefore 5.15
php:phpfrom 5.4.0 before 5.4.27
php:phpfrom 5.5.0 before 5.5.11
debian:debian_linux6.0
debian:debian_linux7.0
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0file5.04-5+squeeze4DSA-2873-1
Debian7file5.11-2+deb7u2DSA-2873-1
Debian7php55.4.34-0+deb7u1DSA-3064-1
Debian12, 13, 14file1:5.17-0.1DEBIAN-CVE-2013-7345
Ubuntu14.04:LTSfile1:5.14-2ubuntu3.1UBUNTU-CVE-2013-7345 USN-2278-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morephp, php-gd, php-cli and 23 more0:5.4.16-23.el7_0RHSA-2014:1013
Red Hatrhel_software_collections:1::el6php54-php, php54-php-gd, php54-php-cli and 23 more0:5.4.16-22.el6RHSA-2014:1765
Red Hatrhel_software_collections:1::el7php54-php, php54-php-gd, php54-php-cli and 21 more0:5.4.16-22.el7RHSA-2014:1765
openSUSETumbleweedphp55.6.28-1.1openSUSE-SU-2024:10344-1
openSUSETumbleweedphp77.0.14-1.4openSUSE-SU-2024:10290-1
openSUSETumbleweedphp88.0.11-1.1openSUSE-SU-2024:11169-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue did not affect the versions of file as shipped with Red Hat Enterprise Linux 5, 6, and 7, the versions of php as shipped with Red Hat Enterprise Linux 5 and 6, and the versions of php53 as shipped with Red Hat Enterprise Linux 5.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7php-0:5.4.16-23.el7_0Fixed 2014-08-06RHSA-2014:1013
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6php54-php-0:5.4.16-22.el6Fixed 2014-10-30RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUSphp54-php-0:5.4.16-22.el6Fixed 2014-10-30RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUSphp54-php-0:5.4.16-22.el6Fixed 2014-10-30RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUSphp54-php-0:5.4.16-22.el6Fixed 2014-10-30RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7php54-php-0:5.4.16-22.el7Fixed 2014-10-30RHSA-2014:1765
Red Hat Enterprise Linux 5cdrtoolsNot affected
Red Hat Enterprise Linux 5fileNot affected
Red Hat Enterprise Linux 5phpNot affected
Red Hat Enterprise Linux 5php53Not affected
Red Hat Enterprise Linux 5rpmNot affected
Red Hat Enterprise Linux 6fileNot affected
Red Hat Enterprise Linux 6phpNot affected
Red Hat Enterprise Linux 7fileNot affected
Red Hat Software Collectionsphp55-phpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-7345.

References

Check your stackJSON