CVE-2004-1304

Description

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
11.396%
chance of exploitation in the next 30 days
higher than 96.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Timeline

  1. 2004-11-29First Exploit-DB entry (EDB-ID 24784)23 days before publication
  2. 2004-12-22Published by the CNA05:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 24784remotelinux2004-11-29yes

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
file file4.0no fix listed4.1no fix listed4.10no fix listed4.11no fix listed4.2no fix listed(+7 more)not listednot listednot listednot listednot listed
gentoo linux
trustix secure_linux2.0no fix listed2.1no fix listed2.2no fix listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources