CVE-2024-20328
MediumA 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 Aug 7, 2026 · Also known as 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).
- 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+dfsg-1, ClamAV 1.0.5+dfsg-1~deb12u1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
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
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2024-20328 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
23 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| ClamAVClamav | >= 1.2.0 | 1.0.5 |
| clamav-1.3chainguard | See advisory | 1.3.0-r0 |
Patched Releases
ClamAV
0.105.2-5, 1.0.5+dfsg-1, 1.0.5+dfsg-1~deb12u1, 1.0.5+dfsg-1ubuntu1, 1.0.6-1, 1.2.2-r0, 1.0.5
clamav-1.3
1.3.0-r0
Timeline
Publicly disclosed
Mar 1, 2024
Last updated
Aug 7, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- advisoryhttps://blog.clamav.net/2023/11/clamav-130-122-105-released.html
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2024-20328
- advisoryhttps://ubuntu.com/security/CVE-2024-20328
- advisoryhttps://ubuntu.com/security/notices/USN-6636-1
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2024-20328
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.2.0; clamav-1.3 (chainguard). 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+dfsg-1, ClamAV 1.0.5+dfsg-1~deb12u1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-20328 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo