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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-03-01 · Modified: 2025-11-04
- Aliases: UBUNTU-CVE-2024-20328, DEBIAN-CVE-2024-20328, ALPINE-CVE-2024-20328
- Record: https://cvemate.com/vulnerability/CVE-2024-20328 · JSON: https://cvemate.com/vulnerability/CVE-2024-20328/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- EPSS: 84.841%, percentile 99.709%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine clamav (Alpine Linux): ≥ 1.0.0, \< 1.2.2-r0 \| ≥ 1.2.0, \< 1.2.2-r0
- cisco clamav: 1.2.0 \| 1.2.1
- clamav clamav: ≥ 1.0.0, \< 1.0.5 \| ≥ 1.2.0, \< 1.2.2
- debian clamav (Debian): \< 1.0.5+dfsg-1~deb12u1 \| \< 1.0.5+dfsg-1
- ubuntu clamav (Ubuntu): \< 1.0.5+dfsg-1ubuntu1

## References

- <https://blog.clamav.net/2023/11/clamav-130-122-105-released.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5FXZYVDNV66RNMNVJOHAJAYRZV4U64CQ/>
- <https://ubuntu.com/security/CVE-2024-20328>
- <https://ubuntu.com/security/notices/USN-6636-1>
- <https://www.cve.org/CVERecord?id=CVE-2024-20328>
- <https://security-tracker.debian.org/tracker/CVE-2024-20328>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-20328>
- <https://security.alpinelinux.org/vuln/CVE-2024-20328>

---

Data as of 2026-12-05T04:51:18.446Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
