CVE-2004-1304
Stack-based buffer overflow in the ELF header parsing code in file before 4.12 allows attackers...
CVE-2004-1304 is a high vulnerability (CVSS 10.0) in File, published December 22, 2004. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 11.4%, the 96th percentile. Fixed in file 4.12.
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.
Exploit likelihood
What each source reports
NVD Score used
10.0
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.
- Record
CVE-2004-1304- CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-1304- Updated
- 2026-11-02
EUVDEUVD-2004-1301 No score
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.
- Record
EUVD-2004-1301- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w22m-7gfq-73mf No score
Stack-based buffer overflow in the ELF header parsing code in file before 4.12 allows attackers...
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.
- Record
GHSA-w22m-7gfq-73mf- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2004-1304- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-1304 No score
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.
- Record
DEBIAN-CVE-2004-1304- Updated
- 2026-11-02
Affected products
Affected packages
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | File ELF 4.x - Header Buffer Overflow | 2004-11-29 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
References
trustix.net/errata/2004/0063
securitytracker.com/id?1012433
gentoo.org/security/en/glsa/glsa-200412-07.xml
securityfocus.com/bid/11771
exchange.xforce.ibmcloud.com/vulnerabilities/18368
nvd.nist.gov/vuln/detail/CVE-2004-1304
github.com/advisories/GHSA-w22m-7gfq-73mf
security-tracker.debian.org/tracker/CVE-2004-1304