CVE-2013-7345
publishedfile: extensive backtracking in awk rule regular expression
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | squeeze | file | Advisory build | 5.04-5+squeeze4 | DSA-2873-1 |
| Oracle Linux | 7 | phpx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Red Hat Enterprise Linux | RHEL-6 | php54-phpsrc | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Debian | wheezy | file | Advisory build | 5.11-2+deb7u2 | DSA-2873-1 |
| Debian | wheezy | php5 | Advisory build | 5.4.34-0+deb7u1 | DSA-3064-1 |
| Oracle Linux | 7 | php-bcmathx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-clix86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | php-commonx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-dbax86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-develx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-embeddedx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-enchantx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-fpmx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-gdx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-intlx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-ldapx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-mbstringx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-mysqlx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-mysqlndx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-odbcx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-pdox86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-pgsqlx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-processx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-pspellx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-recodex86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-snmpx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-soapx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-xmlx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Oracle Linux | 7 | php-xmlrpcx86_64 | Advisory build | 0:5.4.16-23.el7_0 | ELSA-2014-1013 |
| Red Hat Enterprise Linux | RHEL-6 | php54-phpx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-bcmathx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-clix86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-commonx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-dbax86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-debuginfox86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-develx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-enchantx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-fpmx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-gdx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-imapx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-intlx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-ldapx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-mbstringx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-mysqlndx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-odbcx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-pdox86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-pgsqlx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-processx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-pspellx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-recodex86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-snmpx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-soapx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-tidyx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-xmlx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-6 | php54-php-xmlrpcx86_64 | Advisory build | 5.4.16-22.el6 | RHSA-2014:1765 |
| Red Hat Enterprise Linux | RHEL-7 | phpppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | phps390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | phpsrc | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | phpx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmaths390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-clippc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-clis390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-clix86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-commonppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-commons390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-commonx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbappc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbas390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbax86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfoppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfos390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfox86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-develppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-devels390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-develx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-embeddedppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-embeddeds390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-embeddedx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-enchantppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-enchants390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-enchantx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-fpmppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-fpms390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-fpmx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-gdppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-gds390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-gdx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-intlppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-intls390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-intlx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-ldapppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-ldaps390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-ldapx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-mbstringppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-mbstrings390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-mbstringx86_64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-mysqlppc64 | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| Red Hat Enterprise Linux | RHEL-7 | php-mysqls390x | Advisory build | 5.4.16-23.el7_0 | RHSA-2014:1013 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- http://bugs.gw.com/view.php?id=164
- RHSA-2014:1765 http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://support.apple.com/kb/HT6443
- DSA-2873 http://www.debian.org/security/2014/dsa-2873
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 28e37c2d45e91410cb65b8ab967fbdf78b15ef91f53d94ca1b2091e38a9c6c69
- Ingested
- 23 Sep 2026, 07:39:49 UTC
- Source record
- Official CVE record