CVE-2004-1876: The "%f" feature in the VirusEvent directive in Clam AntiVirus daemon (clamd) before 0.70 allows local users t
CVE-2004-1876 is a medium-severity flaw (CVSS 4.6) affecting clamav. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 4.6 (Medium) |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Published | 2004-03-30 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-1876?
clamav: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-1876 being exploited?
CVE-2004-1876 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-1876 affect?
CVE-2004-1876 affects clamav. Severity is medium (CVSS 4.6). 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.
How urgent is CVE-2004-1876?
Priority 33/100. Public exploit reference
Related CVEs
- CVE-2026-20213 HIGH 7.5 UPGRADE UPGRADE A vulnerability in the PE file format parser of ClamAV could allow an unauthenticated, remote attacker to caus
- CVE-2026-20214 HIGH 7.5 UPGRADE UPGRADE A vulnerability in the FSG file format parser of ClamAV could allow an unauthenticated, remote attacker to cau
- CVE-2026-20215 HIGH 7.5 UPGRADE UPGRADE A vulnerability in the 7z file format parser of ClamAV could allow an unauthenticated, remote attacker to caus
- CVE-2026-20216 HIGH 7.5 UPGRADE UPGRADE A vulnerability in the InstallShield file format parser of ClamAV could allow an unauthenticated, remote attac
- CVE-2026-20217 HIGH 7.5 UPGRADE UPGRADE A vulnerability in the PESpin file format parser of ClamAV could allow an unauthenticated, remote attacker to