
CVE catalog
CVE-2024-20506
ClamAV vulnerabilities
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.32% · Oct 25, 2026
A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 1.4.0, 1.3.2 and prior versions, all 1.2.x versions, 1.0.6 and prior versions, all 0.105.x versions, all 0.104.x versions, and 0.103.11 and all prior versions could allow an authenticated, local attacker to corrupt critical system files. The vulnerability is due to allowing the ClamD process to write to its log file while privileged without checking if the logfile has been replaced with a symbolic link. An attacker could exploit this vulnerability if they replace the ClamD log file with a symlink to a critical system file and then find a way to restart the ClamD process. An exploit could allow the attacker to corrupt a critical system file by appending ClamD log messages after restart.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | clamav | sid | 1.4.6+dfsg-1 | fixed |
| Debian | clamav | forky | 1.4.6+dfsg-1 | fixed |
| Debian | clamav | trixie | 1.4.3+dfsg-1 | fixed |
| Debian | clamav | bookworm | 1.4.3+dfsg-1~deb12u2 | fixed |
| Debian | clamav | bookworm-security | 1.4.6+dfsg-0+deb12u1 | fixed |
| Ubuntu | clamav | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | clamav-base | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | clamav-daemon | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | clamav-docs | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | clamav-freshclam | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | clamav-milter | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | clamav-testfiles | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | clamdscan | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | libclamav-dev | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | libclamav11t64 | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
| Ubuntu | clamav | pro | 0.99.2+dfsg-6ubuntu2 | vulnerable |
| Ubuntu | clamav | pro | 0.99.3~beta1+dfsg-2ubuntu1 | vulnerable |
| Ubuntu | clamav | pro | 0.99.3~beta1+dfsg-2ubuntu2 | vulnerable |
| Ubuntu | clamav | pro | 0.99.3+addedllvm-0ubuntu1 | vulnerable |
| Ubuntu | clamav | pro | 0.99.3+addedllvm-0ubuntu2 | vulnerable |
| Ubuntu | clamav | pro | 0.99.4+addedllvm-0ubuntu1 | vulnerable |
| Ubuntu | clamav | pro | 0.100.1+dfsg-1ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.100.1+dfsg-1ubuntu0.18.04.2 | vulnerable |
| Ubuntu | clamav | pro | 0.100.1+dfsg-1ubuntu0.18.04.3 | vulnerable |
| Ubuntu | clamav | pro | 0.100.2+dfsg-1ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.100.3+dfsg-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.101.4+dfsg-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.102.1+dfsg-0ubuntu0.18.04.2 | vulnerable |
| Ubuntu | clamav | pro | 0.102.2+dfsg-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.102.3+dfsg-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.102.4+dfsg-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.103.2+dfsg-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.103.2+dfsg-0ubuntu0.18.04.2 | vulnerable |
| Ubuntu | clamav | pro | 0.103.2+dfsg-0ubuntu0.18.04.3 | vulnerable |
| Ubuntu | clamav | pro | 0.103.5+dfsg-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.103.6+dfsg-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.103.8+dfsg-0ubuntu0.18.04.1 | vulnerable |
| Ubuntu | clamav | pro | 0.103.9+dfsg-0ubuntu0.18.04.1+esm1 | vulnerable |
| Ubuntu | clamav | pro | 0.103.12+dfsg-0ubuntu0.18.04.1+esm1 | fixed |
| Ubuntu | clamav | 20.04 | 0.101.4+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.102.1+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.102.1+dfsg-2ubuntu1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.102.1+dfsg-2ubuntu2 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.102.2+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.102.2+dfsg-2ubuntu1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.102.3+dfsg-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.102.4+dfsg-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.103.2+dfsg-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.103.2+dfsg-0ubuntu0.20.04.2 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.103.5+dfsg-1~20.04.1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.103.6+dfsg-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.103.8+dfsg-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.103.9+dfsg-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.103.11+dfsg-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | clamav | 20.04 | 0.103.12+dfsg-0ubuntu0.20.04.1 | fixed |
| Ubuntu | clamav | 22.04 | 0.103.3+dfsg-1 | vulnerable |
| Ubuntu | clamav | 22.04 | 0.103.4+dfsg-1 | vulnerable |
| Ubuntu | clamav | 22.04 | 0.103.4+dfsg-1build1 | vulnerable |
| Ubuntu | clamav | 22.04 | 0.103.5+dfsg-1 | vulnerable |
| Ubuntu | clamav | 22.04 | 0.103.6+dfsg-0ubuntu0.22.04.1 | vulnerable |
| Ubuntu | clamav | 22.04 | 0.103.8+dfsg-0ubuntu0.22.04.1 | vulnerable |
| Ubuntu | clamav | 22.04 | 0.103.9+dfsg-0ubuntu0.22.04.1 | vulnerable |
| Ubuntu | clamav | 22.04 | 0.103.11+dfsg-0ubuntu0.22.04.1 | vulnerable |
| Ubuntu | clamav | 22.04 | 0.103.12+dfsg-0ubuntu0.22.04.1 | fixed |
| Ubuntu | clamav | 24.04 | 1.0.2+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | clamav | 24.04 | 1.0.3+dfsg-2ubuntu1 | vulnerable |
| Ubuntu | clamav | 24.04 | 1.0.4+dfsg-0ubuntu1 | vulnerable |
| Ubuntu | clamav | 24.04 | 1.0.5+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | clamav | 24.04 | 1.0.5+dfsg-1.1ubuntu2 | vulnerable |
| Ubuntu | clamav | 24.04 | 1.0.5+dfsg-1.1ubuntu3 | vulnerable |
| Ubuntu | clamav | 24.04 | 1.0.7+dfsg-0ubuntu0.24.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | clamav | source | sid | 1.4.1+dfsg-1 | not yet assigned | Not reported | [1080962] |
| Debian | clamav | source | forky | 1.4.1+dfsg-1 | not yet assigned | Not reported | [1080962] |
| Debian | clamav | source | trixie | 1.4.1+dfsg-1 | not yet assigned | Not reported | [1080962] |
| Debian | clamav | source | bookworm | 1.0.7+dfsg-1~deb12u1 | not yet assigned | Not reported | [1080962] |
| Ubuntu | clamav | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | clamav-base | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | clamav-daemon | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | clamav-docs | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | clamav-freshclam | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | clamav-milter | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | clamav-testfiles | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | clamdscan | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | libclamav-dev | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | libclamav11t64 | deb | noble | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | clamav | deb | pro | 0.103.12+dfsg-0ubuntu0.18.04.1+esm1 | Not reported | UBUNTU-CVE-2024-20506 | Not reported |
| Ubuntu | clamav | deb | 20.04 | 0.103.12+dfsg-0ubuntu0.20.04.1 | Not reported | UBUNTU-CVE-2024-20506 | Not reported |
| Ubuntu | clamav | deb | 22.04 | 0.103.12+dfsg-0ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2024-20506 | Not reported |
| Ubuntu | clamav | deb | 24.04 | 1.0.7+dfsg-0ubuntu0.24.04.1 | Not reported | UBUNTU-CVE-2024-20506 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [clamav]Fixed
Details (2)
1.4.3+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [clamav-base]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [clamav-daemon]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [clamav-doc]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [clamav-docs]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [clamav-freshclam]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [clamav-milter]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [clamav-testfiles]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [clamdscan]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [libclamav12]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
- [libclamav-dev]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
1.4.3+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
1.0.7+dfsg-1~deb12u1usn · clamav · debian · bookworm; usn · clamav · debian · 12
[Debian 13 (Trixie)]
- [clamav]Fixed
Details (2)
1.4.3+dfsg-1· amd64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
1.4.3+dfsg-1· arm64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
- [clamav-base]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1· all · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
1.4.3+dfsg-1· all · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
- [clamav-daemon]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1· amd64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
1.4.3+dfsg-1· arm64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
- [clamav-doc]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1· all · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
1.4.3+dfsg-1· all · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
- [clamav-docs]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1· all · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
1.4.3+dfsg-1· all · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
- [clamav-freshclam]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1· amd64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
1.4.3+dfsg-1· arm64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
- [clamav-milter]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1· amd64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
1.4.3+dfsg-1· arm64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
- [clamav-testfiles]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1· all · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
1.4.3+dfsg-1· all · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
- [clamdscan]Fixed
Source package: [clamav]
Details (2)
1.4.3+dfsg-1· amd64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
1.4.3+dfsg-1· arm64 · trixieFixed · Fixed:
1.4.1+dfsg-1usn · clamav · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_3228-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-20506]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-20506]
- [https://security-tracker.debian.org/tracker/CVE-2024-20506]
- [https://ubuntu.com/security/notices/USN-7011-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-2051.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]