cve.bz

CVE-2024-20506 clamav clamav

6.1 mediumEPSS 0.3%

Medium (6.1) in clamav clamav. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-754 Improper Check for Unusual or Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-20506 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-20506?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-20506?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-20506 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
clamav:clamavbefore 0.103.12
clamav:clamavfrom 0.104.0 before 1.0.7
clamav:clamavfrom 1.2.0 before 1.3.2
clamav:clamav1.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11clamav1.0.7+dfsg-1~deb11u1DLA-3983-1
Debian12clamav1.0.7+dfsg-1~deb12u1DEBIAN-CVE-2024-20506
Debian13, 14clamav1.4.1+dfsg-1DEBIAN-CVE-2024-20506
Ubuntu20.04:LTSclamav0.103.12+dfsg-0ubuntu0.20.04.1UBUNTU-CVE-2024-20506 USN-7011-1
Ubuntu22.04:LTSclamav0.103.12+dfsg-0ubuntu0.22.04.1UBUNTU-CVE-2024-20506 USN-7011-1
Ubuntu24.04:LTSclamav1.0.7+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2024-20506 USN-7011-1
UbuntuPro:14.04:LTSclamavno fix listedUBUNTU-CVE-2024-20506
UbuntuPro:16.04:LTSclamav0.103.12+dfsg-0ubuntu0.16.04.1+esm1UBUNTU-CVE-2024-20506 USN-7011-2
UbuntuPro:18.04:LTSclamav0.103.12+dfsg-0ubuntu0.18.04.1+esm1UBUNTU-CVE-2024-20506 USN-7011-2
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 11 moreclamav0.103.12-150000.3.53.1SUSE-SU-2024:3305-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 moreclamav1.4.2-150200.8.3.1SUSE-SU-2025:0325-1
SUSELinux Enterprise Module for Basesystem 15 SP6clamav0.103.12-150600.18.3.1SUSE-SU-2024:3306-1
SUSELinux Enterprise Module for Basesystem 15 SP6clamav1.4.2-150600.18.6.1SUSE-SU-2025:0327-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5clamav0.103.12-3.33.1SUSE-SU-2024:3228-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5clamav1.4.2-3.36.1SUSE-SU-2025:0328-1
openSUSELeap 15.5clamav0.103.12-150000.3.53.1SUSE-SU-2024:3305-1
openSUSELeap 15.6clamav0.103.12-150600.18.3.1SUSE-SU-2024:3306-1
openSUSELeap 15.6clamav1.4.2-150600.18.6.1SUSE-SU-2025:0327-1
openSUSETumbleweedclamav1.4.1-1.1openSUSE-SU-2024:14596-1
Alpinev3.21, v3.22, v3.23 and 1 moreclamav1.3.2-r0ALPINE-CVE-2024-20506
Azure Linux2clamav1.0.7-1AZL-48624
Azure Linux3clamav1.0.7-1AZL-48665

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

References

Check your stackJSON