CVE-2024-20328
ClamAV VirusEvent File Processing Command Injection Vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
ClamAV VirusEvent File Processing Command Injection Vulnerability
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.
- Record
CVE-2024-20328- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-78
- Updated
- 2026-11-02
EUVDEUVD-2024-18043
5.3
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.
- Record
EUVD-2024-18043- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vhq6-cjc8-x8v9
5.3
A vulnerability in the VirusEvent feature of ClamAV could allow a local attacker to inject...
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.
- Record
GHSA-vhq6-cjc8-x8v9- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-78
- Updated
- 2026-11-02
NVD
5.3
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.
- Record
CVE-2024-20328- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-20328
5.3
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.
- Record
ALPINE-CVE-2024-20328- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-03
OSV
5.3
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.
- Record
CVE-2024-20328- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2024-20328
5.3
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.
- Record
DEBIAN-CVE-2024-20328- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-20328
5.3
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.
- Record
UBUNTU-CVE-2024-20328- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVAZL-35428 No score
CVE-2024-20328 affecting package clamav for versions less than 0.105.2-5
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.
- Record
AZL-35428- Updated
- 2026-11-02
OSVAZL-35431 No score
CVE-2024-20328 affecting package clamav for versions less than 1.0.6-1
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.
- Record
AZL-35431- Updated
- 2026-11-02
OSVCLSA-2025-1756923561 No score
clamav: Fix of 8 CVEs
- Update to 1.0.9 LTS version
- CVE-2025-20260: Fixed a possible buffer overflow write bug in the PDF file parser
- CVE-2025-20128: Fixed a possible buffer overflow read bug in the OLE2 file parser
- CVE-2024-20506: Changed the logging module to disable following symlinks on Linux and Unix systems so as to prevent an attacker with existing access to the 'clamd' or 'freshclam' services from using a symlink to corrupt system files
- CVE-2024-20290: Fixed a possible heap overflow read bug in the OLE2 file parser
- CVE-2024-20328: Fixed a possible command injection in the 'VirusEvent' feature of the clamd service
- CVE-2023-20197: Fixed a possible denial of service in the HFS+ parser
- CVE-2023-20212: Fixed a possible DoS in the AutoIT file parser
- CVE-2023-20052: Fixed a possible remote information leak in the DMG file parser
- Record
CLSA-2025-1756923561- Updated
- 2026-11-02
OSVMGASA-2024-0048 No score
Updated clamav packages fix security vulnerabilities
The updated packages fix security vulnerabilities: A possible heap overflow read bug in the OLE2 file parser that could cause a denial-of-service (DoS) condition. (CVE-2024-20290) A possible command injection vulnerability in the "VirusEvent" feature of ClamAV's ClamD service. (CVE-2024-20328)
- Record
MGASA-2024-0048- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
clamavAlpine:v3.19 |
1.0.0 up to 1.2.2-r0 | 1.2.2-r0 |
clamavAlpine:v3.20 |
1.0.0 up to 1.2.2-r0 | 1.2.2-r0 |
clamavAlpine:v3.21 |
1.0.0 up to 1.2.2-r0 | 1.2.2-r0 |
clamavAlpine:v3.22 |
1.0.0 up to 1.2.2-r0 | 1.2.2-r0 |
clamavAlpine:v3.23 |
1.0.0 up to 1.2.2-r0 | 1.2.2-r0 |
clamavAlpine:v3.24 |
1.0.0 up to 1.2.2-r0 | 1.2.2-r0 |
clamavAzure Linux:2 |
before 0.105.2-5 | 0.105.2-5 |
clamavAzure Linux:3 |
before 1.0.6-1 | 1.0.6-1 |
clamavTuxCare:CentOS:6 From an advisory covering 8 CVEs |
before 1.0.9-1.el6.tuxcare.els1 | 1.0.9-1.el6.tuxcare.els1 |
clamav-dataTuxCare:CentOS:6 From an advisory covering 8 CVEs |
before 1.0.9-1.el6.tuxcare.els1 | 1.0.9-1.el6.tuxcare.els1 |
Show 12 moreShow less
| Package | Affected | Fixed |
|---|---|---|
clamav-develTuxCare:CentOS:6 From an advisory covering 8 CVEs |
before 1.0.9-1.el6.tuxcare.els1 | 1.0.9-1.el6.tuxcare.els1 |
clamav-docTuxCare:CentOS:6 From an advisory covering 8 CVEs |
before 1.0.9-1.el6.tuxcare.els1 | 1.0.9-1.el6.tuxcare.els1 |
clamav-filesystemTuxCare:CentOS:6 From an advisory covering 8 CVEs |
before 1.0.9-1.el6.tuxcare.els1 | 1.0.9-1.el6.tuxcare.els1 |
clamav-freshclamTuxCare:CentOS:6 From an advisory covering 8 CVEs |
before 1.0.9-1.el6.tuxcare.els1 | 1.0.9-1.el6.tuxcare.els1 |
clamav-libTuxCare:CentOS:6 From an advisory covering 8 CVEs |
before 1.0.9-1.el6.tuxcare.els1 | 1.0.9-1.el6.tuxcare.els1 |
clamav-milterTuxCare:CentOS:6 From an advisory covering 8 CVEs |
before 1.0.9-1.el6.tuxcare.els1 | 1.0.9-1.el6.tuxcare.els1 |
clamdTuxCare:CentOS:6 From an advisory covering 8 CVEs |
before 1.0.9-1.el6.tuxcare.els1 | 1.0.9-1.el6.tuxcare.els1 |
clamavDebian:12 |
before 1.0.5+dfsg-1~deb12u1, plus listed versions 1.0.1+dfsg-21.0.2+dfsg-11.0.2+dfsg-1~deb12u11.0.3+dfsg-11.0.3+dfsg-1~deb12u11.0.3+dfsg-21.0.4+dfsg-1 |
1.0.5+dfsg-1~deb12u1 |
clamavDebian:13 |
before 1.0.5+dfsg-1 | 1.0.5+dfsg-1 |
clamavDebian:14 |
before 1.0.5+dfsg-1 | 1.0.5+dfsg-1 |
clamavMageia:9 From an advisory covering 2 CVEs |
before 1.0.5-1.mga9 | 1.0.5-1.mga9 |
clamavUbuntu:24.04:LTS |
before 1.0.5+dfsg-1ubuntu1, plus listed versions 1.0.2+dfsg-1ubuntu11.0.3+dfsg-2ubuntu11.0.4+dfsg-0ubuntu1 |
1.0.5+dfsg-1ubuntu1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-20328 is a medium vulnerability (CVSS 5.3) in Cisco Clamav, published February 9, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 84.8%, the 99th percentile. Fixed in clamav 1.2.2-r0.
References
blog.clamav.net/2023/11/clamav-130-122-105-released.html
lists.fedoraproject.org/archives/list/[email protected]/message/5FXZYVDNV66RNMNVJOHAJAYRZV4U64CQ
nvd.nist.gov/vuln/detail/CVE-2024-20328
github.com/advisories/GHSA-vhq6-cjc8-x8v9
security.alpinelinux.org/vuln/CVE-2024-20328
errata.tuxcare.com/els_os/centos6els/CLSA-2025-1756923561.html