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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Cisco | ClamAV | 1.2.0, 1.2.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | clamav | 1.0.5+dfsg-1 | — |
| Debian 13 | clamav | 1.0.5+dfsg-1 | — |
| Debian 12 | clamav | 1.0.5+dfsg-1~deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | clamav | 1.0.5+dfsg-1ubuntu1 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | clamav | 1.2.2-r0 | — |
| Alpine v3.23 | clamav | 1.2.2-r0 | — |
| Alpine v3.22 | clamav | 1.2.2-r0 | — |
| Alpine v3.21 | clamav | 1.2.2-r0 | — |
| Alpine v3.20 | clamav | 1.2.2-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | clamav | 1.2.2-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | clamav | 1.0.6-1 | — |
| Azure Linux 2 (CBL-Mariner) | clamav | 0.105.2-5 | — |
Advisories 1
- WID-SEC-2024-0322 ClamAV: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 8, 2025