Skip to content
Fencer Vulns
critical 10.0

CVE-2004-1304 in the critical feed json

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…

published 2004-12-22 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-1301

cvss
10.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
11.4%
EPSS 11.4% chance of exploitation in 30 days, percentile 96%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • file Debian 14, Debian 13, Debian 12 4.12

debian advisories DEBIAN-CVE-2004-1304

Timeline

  1. First public exploit (EDB-24784)
  2. Published

Exploit prediction

11.40% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-24784 File ELF 4.x - Header Buffer Overflow remote, 2004-11-29

CVSS scores

assigned by version score vector
NVD 2.0 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Fix old broken CPEs.