Live threats

All CVEs / File

CVE-2004-1304File

Critical 10.0 No auth neededHigh EPSS

Priority
76
CVSS 2.0
10.0
EPSS
11.4%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Jan 10, 2005
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:C/I:C/A:C

What happens

Stack-based buffer overflow in the ELF header parsing code in file before 4.12 allows attackers to execute arbitrary code via a crafted ELF file.

Original NVD text.

What to do

  1. Apply the vendor's security update for File.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
filefile4.0
filefile4.1
filefile4.2
filefile4.3
filefile4.4
filefile4.5
filefile4.6
filefile4.7
filefile4.8
filefile4.9
filefile4.10
filefile4.11
gentoolinuxall
trustixsecure_linux2.0
trustixsecure_linux2.1
trustixsecure_linux2.2

Official sources

References

Links published by the sources. Open them with care.