Home / Clam Anti-virus / Clamav / CVE-2004-1876
CVE-2004-1876: is it exploited, and which versions of Clam Anti-virus Clamav are affected and fixed?
CVE-2004-1876 is a vulnerability in Clam Anti-virus Clamav. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 20:39 UTC). Affected: clamav 0.51, clamav 0.52, clamav 0.53 and 6 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.6, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 20:39 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:55 UTC.
What is CVE-2004-1876?
The "%f" feature in the VirusEvent directive in Clam AntiVirus daemon (clamd) before 0.70 allows local users to execute arbitrary commands via shell metacharacters in a file name.
From the CVE record by mitre, last updated August 8, 2024, 01:07 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| clam anti-virus | clamav | 0.51 | application |
| clam anti-virus | clamav | 0.52 | application |
| clam anti-virus | clamav | 0.53 | application |
| clam anti-virus | clamav | 0.54 | application |
| clam anti-virus | clamav | 0.60 | application |
| clam anti-virus | clamav | 0.65 | application |
| clam anti-virus | clamav | 0.67 | application |
| clam anti-virus | clamav | 0.68 | application |
| clam anti-virus | clamav | 0.68.1 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:08 UTC.
How severe is CVE-2004-1876?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.6 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-1876 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.58% probability of exploitation activity in the next 30 days, percentile 49.4 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- 11253 third-party-advisory, x_refsource_SECUNIA
- GLSA-200405-03 vendor-advisory, x_refsource_GENTOO
- clamantivirus-virusevent-gain-privileges(15692) vdb-entry, x_refsource_XF
- 20040330 clamd - NEVER use "%f" in your "VirusEvent" mailing-list, x_refsource_BUGTRAQ
- 10007 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- May 4, 2005
- Published
- May 10, 2005, 04:00 UTC
- CVE record updated
- August 8, 2024, 01:07 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:08 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:55 UTC; KEV December 3, 2026, 20:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Clamav?
- Dec 3, 2008CVE-2008-5314 Clam Anti-virus Clamav: n/a
- Nov 13, 2008CVE-2008-5050 Clam Anti-virus Clamav: memory corruption (buffer overflow)
- Sep 4, 2008CVE-2008-1389 Clam Anti-virus Clamav: n/a
- Jul 18, 2008CVE-2008-3215 Clam Anti-virus Clamav: n/a
- Jun 16, 2008CVE-2008-2713 Clam Anti-virus Clamav: n/a
- Apr 16, 2008CVE-2008-1837 Clam Anti-virus Clamav: n/a
- Apr 16, 2008CVE-2008-1836 Clam Anti-virus Clamav: n/a
- Apr 16, 2008CVE-2008-1835 Clam Anti-virus Clamav: improper input validation
Questions about CVE-2004-1876
Is CVE-2004-1876 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 20:39 UTC. FIRST's EPSS gives it a 0.58% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Clam Anti-virus Clamav are affected by CVE-2004-1876?
clamav 0.51, clamav 0.52, clamav 0.53, clamav 0.54, clamav 0.60, clamav 0.65 and 3 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-1876?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2004-1876?
Medium (4.6, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-1876?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.