Skip to content
Vulnerability Intelligence

CVE-2024-20328

Medium

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 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
ProductAffected versionsFixed in
ClamAVClamav>= 1.2.01.0.5
clamav-1.3chainguardSee advisory1.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

  1. Publicly disclosed

    Mar 1, 2024

  2. Last updated

    Aug 7, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

References

1 more references in the full CVE brief

FAQ

Common Questions.

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