Read the docs
TI-2013-06009 Aliases CVE-2013-7345GHSA-63f8-4qqh-pqqj

The BEGIN regular expression in the awk script detector in magic/Magdir/commands in file…

Priority LOW 28Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · Partial
Fix status
Partial Red Hat: 13 fixed, 1 without a fix

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

EPSS 0.0304 87th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial Red Hat: 2 advisoriesRed Hat: 13 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:christos_zoulas:file:*:*:*:*:*:*:*:*before 5.15VulnerableChristos Zoulas
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*5.4.0 to before 5.4.27; 5.5.0 to before 5.5.11VulnerablePHP
cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*6.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*7.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
  • cpe:2.3:a:christos_zoulas:file:*:*:*:*:*:*:*:* Versions before 5.15 Vulnerable ·Christos Zoulas
  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.4.0 to before 5.4.27; 5.5.0 to before 5.5.11 Vulnerable ·PHP
  • cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian

Remediation

Red Hat 2 advisories

  • RHSA-2014:1765 Released 2014-10-30 · Red Hat rating Important
    php54-php security update
    • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
    • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php54-php-5.4.16-22.el7, php54-php-bcmath-5.4.16-22.el7, php54-php-cli-5.4.16-22.el7 +20
    • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
    • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
    • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
    • Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
    • Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php54-php-5.4.16-22.el7, php54-php-bcmath-5.4.16-22.el7, php54-php-cli-5.4.16-22.el7 +20
  • RHSA-2014:1013 Released 2014-08-06 · Red Hat rating Moderate
    php security update
    • Red Hat Enterprise Linux Client Optional (v. 7) php-5.4.16-23.el7_0, php-bcmath-5.4.16-23.el7_0, php-cli-5.4.16-23.el7_0 +22
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) php-5.4.16-23.el7_0, php-bcmath-5.4.16-23.el7_0, php-cli-5.4.16-23.el7_0 +22
    • Red Hat Enterprise Linux Server (v. 7) php-5.4.16-23.el7_0, php-cli-5.4.16-23.el7_0, php-common-5.4.16-23.el7_0 +11
    • Red Hat Enterprise Linux Server Optional (v. 7) php-bcmath-5.4.16-23.el7_0, php-dba-5.4.16-23.el7_0, php-devel-5.4.16-23.el7_0 +8
    • Red Hat Enterprise Linux Workstation (v. 7) php-5.4.16-23.el7_0, php-cli-5.4.16-23.el7_0, php-common-5.4.16-23.el7_0 +11
    • Red Hat Enterprise Linux Workstation Optional (v. 7) php-bcmath-5.4.16-23.el7_0, php-dba-5.4.16-23.el7_0, php-devel-5.4.16-23.el7_0 +8

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Software CollectionsAffectedNo fix yet
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2014:1013
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2014:1013
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2014:1013
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2014:1013
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2014:1013
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2014:1013
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4)Fixed RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5)Fixed RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6)Fixed RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2014:1765
Not affected: 3 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2013-7345
  2. 2026-10-03 Alias added: GHSA-63f8-4qqh-pqqj

References

Sources