CVE-2024-20328ClamAV OS Command Injection
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.
Published Mar 1, 2024 · Updated Nov 3, 2026 · Also known as ALPINE-CVE-2024-20328, CLEANSTART-2026-XI94968, DEBIAN-CVE-2024-20328, UBUNTU-CVE-2024-20328
Key Facts
Patch immediately- CVE-2024-20328 is a medium-severity vulnerability (CVSS 5.3 v3.1) affecting ClamAV, clamav-1.3 (chainguard), clamav-data (tuxcare) and 7 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 85% probability of exploitation in the next 30 days.
- Fixed versions are available, including ClamAV 0.105.2-5, ClamAV 1.0.5-1.mga9, ClamAV 1.0.5+dfsg-1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
5.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS (30-day exploit likelihood)
85%
Higher than 99.7% of all scored CVEs
Exploit maturity
None known
ATLAS score
31/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2024-20328
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2024-20328
- advisoryhttps://ubuntu.com/security/CVE-2024-20328
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2024-20328
- advisoryhttps://advisories.mageia.org/MGASA-2024-0048.html
- advisoryhttps://blog.clamav.net/2023/11/clamav-130-122-105-released.html
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.
Affected Products
35 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| ClamAVClamav | >= 1.0.0, >= 1.2.0 | 1.0.5 |
| clamav-1.3chainguard | See advisory | 1.3.0-r0 |
| clamav-datatuxcare | See advisory | 1.0.9-1.el6.tuxcare.els1 |
| clamav-develtuxcare | See advisory | 1.0.9-1.el6.tuxcare.els1 |
| clamav-doctuxcare | See advisory | 1.0.9-1.el6.tuxcare.els1 |
Patched Releases
ClamAV
0.105.2-5, 1.0.5-1.mga9, 1.0.5+dfsg-1, 1.0.5+dfsg-1~deb12u1, 1.0.5+dfsg-1ubuntu1, 1.0.6-1, 1.0.9-1.el6.tuxcare.els1, 1.2.2-r0, 1.0.5
clamav-1.3
1.3.0-r0
clamav-data
1.0.9-1.el6.tuxcare.els1
clamav-devel
1.0.9-1.el6.tuxcare.els1
clamav-doc
1.0.9-1.el6.tuxcare.els1
clamav-filesystem
1.0.9-1.el6.tuxcare.els1
clamav-freshclam
1.0.9-1.el6.tuxcare.els1
clamav-lib
1.0.9-1.el6.tuxcare.els1
clamav-milter
1.0.9-1.el6.tuxcare.els1
clamd
1.0.9-1.el6.tuxcare.els1
Timeline
Publicly disclosed
Mar 1, 2024
Last updated
Nov 3, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- advisorysecurity.alpinelinux.org · CVE-2024-20328
- advisorysecurity-tracker.debian.org · CVE-2024-20328
- advisoryubuntu.com · CVE-2024-20328
- advisorycve.org · CVERecord
- advisoryadvisories.mageia.org · MGASA-2024-0048.html
FAQ
Common Questions.
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.
Affected: ClamAV versions >= 1.0.0, >= 1.2.0; clamav-1.3 (chainguard); clamav-data (tuxcare), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including ClamAV 0.105.2-5, ClamAV 1.0.5-1.mga9, ClamAV 1.0.5+dfsg-1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-20328 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo