CVE catalog

CVE-2013-7345

file: CVE-2013-7345

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
3.04% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianfilesid1:5.47-4fixed
Debianfileforky1:5.47-4fixed
Debianfiletrixie1:5.46-5fixed
Debianfilebookworm1:5.44-3fixed
Ubuntufile14.045.11-2ubuntu4vulnerable
Ubuntufile14.041:5.14-2ubuntu1vulnerable
Ubuntufile14.041:5.14-2ubuntu2vulnerable
Ubuntufile14.041:5.14-2ubuntu3vulnerable
Ubuntufile14.041:5.14-2ubuntu3.1fixed
Ubuntufile14.045.11-2ubuntu4vulnerable
Ubuntufile14.041:5.14-2ubuntu1vulnerable
Ubuntufile14.041:5.14-2ubuntu2vulnerable
Ubuntufile14.041:5.14-2ubuntu3vulnerable
Ubuntufile14.041:5.14-2ubuntu3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianfilesourcesid1:5.17-0.1not yet assignedNot reported[703993]
Debianfilesourceforky1:5.17-0.1not yet assignedNot reported[703993]
Debianfilesourcetrixie1:5.17-0.1not yet assignedNot reported[703993]
Debianfilesourcebookworm1:5.17-0.1not yet assignedNot reported[703993]
Ubuntufiledeb14.041:5.14-2ubuntu3.1Not reportedUBUNTU-CVE-2013-7345Not reported
Ubuntufiledeb14.041:5.14-2ubuntu3.1Not reportedUSN-2278-1Not reported

[Debian bug #703993]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [file]Fixed
    Details (2)
    • 1:5.44-3 · amd64 · bookworm

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · bookworm; dsa · file · debian · 12

    • 1:5.44-3 · arm64 · bookworm

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · bookworm; dsa · file · debian · 12

  • [libmagic1]Fixed

    Source package: [file]

    Details (2)
    • 1:5.44-3 · amd64 · bookworm

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · bookworm; dsa · file · debian · 12

    • 1:5.44-3 · arm64 · bookworm

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · bookworm; dsa · file · debian · 12

  • Source package: [file]

    Details (2)
    • 1:5.44-3 · amd64 · bookworm

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · bookworm; dsa · file · debian · 12

    • 1:5.44-3 · arm64 · bookworm

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · bookworm; dsa · file · debian · 12

  • Source package: [file]

    Details (2)
    • 1:5.44-3 · amd64 · bookworm

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · bookworm; dsa · file · debian · 12

    • 1:5.44-3 · arm64 · bookworm

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · bookworm; dsa · file · debian · 12

[Debian 13 (Trixie)]

  • [file]Fixed
    Details (2)
    • 1:5.46-5 · amd64 · trixie

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · 13

    • 1:5.46-5 · arm64 · trixie

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · 13

  • Source package: [file]

    Details (2)
    • 1:5.46-5 · amd64 · trixie

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · 13

    • 1:5.46-5 · arm64 · trixie

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · 13

  • Source package: [file]

    Details (2)
    • 1:5.46-5 · amd64 · trixie

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · 13

    • 1:5.46-5 · arm64 · trixie

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · 13

  • Source package: [file]

    Details (2)
    • 1:5.46-5 · amd64 · trixie

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · 13

    • 1:5.46-5 · arm64 · trixie

      Fixed · Fixed: 1:5.17-0.1

      dsa · file · debian · 13

Observed:

References