# CVE-2004-1304

- Priority: **Prioritise**
- Reason: Weaponized exploit (exploit-database, 29-11-2004)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2004-12-22 · Modified: 2024-08-08
- Aliases: DEBIAN-CVE-2004-1304
- Record: https://cvemate.com/vulnerability/CVE-2004-1304 · JSON: https://cvemate.com/vulnerability/CVE-2004-1304/json

## Description

```text
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.
```

## Signals

- CVSS: 10 high (v2.0, NVD) AV:N/AC:L/Au:N/C:C/I:C/A:C
- EPSS: 11.396%, percentile 96.111%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (exploit-database)

## Affected

- debian file (Debian): \< 4.12
- file file: 4.0 \| 4.1 \| 4.2 \| 4.3 \| 4.4 \| 4.5 \| 4.6 \| 4.7 \| 4.8 \| 4.9 \| 4.10 \| 4.11
- trustix secure\_linux: 2.0 \| 2.1 \| 2.2

## References

- <http://www.trustix.net/errata/2004/0063/>
- <http://securitytracker.com/id?1012433>
- <http://www.gentoo.org/security/en/glsa/glsa-200412-07.xml>
- <http://www.securityfocus.com/bid/11771>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/18368>
- <https://security-tracker.debian.org/tracker/CVE-2004-1304>

---

Data as of 2026-12-05T03:47:49.194Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
