CVE-2004-1304: File
High severity, CVSS 10.0. EPSS: 11.4% chance of exploitation in the next 30 days.
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.
Affected products
- File File: version 4.0 only; version 4.1 only; version 4.2 only; version 4.3 only; version 4.4 only; version 4.5 only; …
- Gentoo Linux: any version
- Trustix Secure Linux: version 2.0 only; version 2.1 only; version 2.2 only
Published 2005-01-10. Last modified 2026-06-16.