CVE-2004-1304

CVE-2004-1304 is a critical-severity vulnerability in File with a CVSS 2.0 base score of 10.0. Its EPSS exploit-prediction score of 11% places it in the 95th percentile, indicating an elevated likelihood of exploitation.

Key facts

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.

Frequently asked questions

What is CVE-2004-1304?
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.
How severe is CVE-2004-1304?
CVE-2004-1304 has a CVSS 2.0 base score of 10.0, rated critical severity.
Is CVE-2004-1304 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 11% (95th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2004-1304?
CVE-2004-1304 primarily affects File. In total, 16 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2004-1304?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2004-1304 published?
CVE-2004-1304 was published on 2005-01-10 and last updated on 2026-06-16.

References

Affected products (16)

More vulnerabilities in File

All CVEs affecting File →