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.
Conclusion & alert: CVE-2004-1304 is rated High Exploit Risk (93.4/100): CVSS Critical severity, with high exploitation likelihood (EPSS 11.40%, 95th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +5.68% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 24784 | exploit_db | edb | 2004-11-29 | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 5.72% | 11.40% | +5.68% |
| 2 | 2025-03-30 | 11.87% | 5.72% | -6.15% |
| 3 | 2025-03-29 | — | 11.87% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 10.0 | 2.0 | HIGH |
|
10.0 | 10.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2004-1304 not yet assigned priority: Debian including 1 source packages (file), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2004-1304 |
gentoo
|
normal | CVE-2004-1304: 1 GLSA(s) (200412-07), 1 atom(s) (sys-apps/file); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2004-1304 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| file | file | 4.0 | cpe:2.3:a:file:file:4.0:*:*:*:*:*:*:* |
| file | file | 4.1 | cpe:2.3:a:file:file:4.1:*:*:*:*:*:*:* |
| file | file | 4.2 | cpe:2.3:a:file:file:4.2:*:*:*:*:*:*:* |
| file | file | 4.3 | cpe:2.3:a:file:file:4.3:*:*:*:*:*:*:* |
| file | file | 4.4 | cpe:2.3:a:file:file:4.4:*:*:*:*:*:*:* |
| file | file | 4.5 | cpe:2.3:a:file:file:4.5:*:*:*:*:*:*:* |
| file | file | 4.6 | cpe:2.3:a:file:file:4.6:*:*:*:*:*:*:* |
| file | file | 4.7 | cpe:2.3:a:file:file:4.7:*:*:*:*:*:*:* |
| file | file | 4.8 | cpe:2.3:a:file:file:4.8:*:*:*:*:*:*:* |
| file | file | 4.9 | cpe:2.3:a:file:file:4.9:*:*:*:*:*:*:* |
| file | file | 4.10 | cpe:2.3:a:file:file:4.10:*:*:*:*:*:*:* |
| file | file | 4.11 | cpe:2.3:a:file:file:4.11:*:*:*:*:*:*:* |
| gentoo | linux | — | cpe:2.3:o:gentoo:linux:*:*:*:*:*:*:*:* |
| trustix | secure_linux | 2.0 | cpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:* |
| trustix | secure_linux | 2.1 | cpe:2.3:o:trustix:secure_linux:2.1:*:*:*:*:*:*:* |
| trustix | secure_linux | 2.2 | cpe:2.3:o:trustix:secure_linux:2.2:*:*:*:*:*:*:* |