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

CVE-2024-20328 affects 2 listed versions of ClamAV in the Dawnsentry catalogue.

5.3CVSS medium
None knownexploitation
85%EPSS (next 30 days)
1 March 2024published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

ClamAV

2 of 206 listed versions are affected. Fixed in 1.2.2. The newest release, 1.5.5, is not affected.

1.2.1 1.2.0

What it is

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.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L (Cisco)

Published by Cisco on 1 March 2024. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2024-20328 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.