CVE-2004-1304File
Critical 10.0 No auth neededHigh EPSS
Follow: this CVE · File · File We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for File.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| file | file | 4.0 |
| file | file | 4.1 |
| file | file | 4.2 |
| file | file | 4.3 |
| file | file | 4.4 |
| file | file | 4.5 |
| file | file | 4.6 |
| file | file | 4.7 |
| file | file | 4.8 |
| file | file | 4.9 |
| file | file | 4.10 |
| file | file | 4.11 |
| gentoo | linux | all |
| trustix | secure_linux | 2.0 |
| trustix | secure_linux | 2.1 |
| trustix | secure_linux | 2.2 |
Official sources
References
Links published by the sources. Open them with care.
- securitytracker.com
- www.gentoo.org
- www.securityfocus.com Patch Vendor Advisory
- www.trustix.net
- exchange.xforce.ibmcloud.com