# CVE-2024-20328: ClamAV VirusEvent File Processing Command Injection Vulnerability

- Vendor: Cisco, ClamAV
- Severity: MEDIUM (CVSS 3.1 5.3)
- Exploited (CISA KEV): not listed
- EPSS: 84.8% on 2026-11-23
- Public exploit: not checked
- Patch available: no or unknown
- Vendor advisory: https://blog.clamav.net/2023/11/clamav-130-122-105-released.html
- Published: 2024-03-01; updated: 2024-03-01
- Page: https://patchtonight.com/cve/CVE-2024-20328/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| ClamAV 1.2 | See the advisory |

## The vendor's description

A vulnerability in the VirusEvent feature of ClamAV could allow a local attacker to inject arbitrary commands with the privileges of the application service account.The vulnerability is due to unsafe handling of file names. A local attacker could exploit this vulnerability by supplying a file name containing command-line sequences. When processed on a system using configuration options for the VirusEvent feature, the attacker could cause the application to execute arbitrary commands.
ClamAV has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.

## Sources

- [Cisco advisory](https://blog.clamav.net/2023/11/clamav-130-122-105-released.html)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
