# CVE-2024-20506: ClamAV Privilege Handling Escalation Vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-09-04 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2024-20506, DEBIAN-CVE-2024-20506, CGA-3xmh-gp54-58hw, CGA-p3mf-425h-f3x4, ALPINE-CVE-2024-20506
- Record: https://cvemate.com/vulnerability/CVE-2024-20506 · JSON: https://cvemate.com/vulnerability/CVE-2024-20506/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
- EPSS: 0.318%, percentile 26.646%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine clamav (Alpine Linux): ≥ 0.104.0, \< 1.3.2-r0 \| ≥ 1.2.0, \< 1.3.2-r0
- chainguard clamav-1.4 (Chainguard): \< 1.4.1-r0
- wolfi clamav-1.4 (Wolfi): \< 1.4.1-r0
- cisco clamav: 1.4.0 \| 1.3.2 \| 1.0.6 \| 1.0.5 \| 1.0.4 \| 1.0.3 \| 1.0.2 \| 1.0.1 \| 1.0.0 \| ≥ 1.2.0, \< 1.3.0 \| ≥ 0.105.0, \< 0.106.0 \| ≥ 0.104.0, \< 0.105.0 \| 0.103.11 \| 0.103.10 \| 0.103.9 \| 0.103.8 \| 0.103.7 \| 0.103.6 \| 0.103.5 \| 0.103.4 \| 0.103.3 \| 0.103.2 \| 0.103.1 \| 0.103.0
- clamav clamav: \< 0.103.12 \| ≥ 0.104.0, \< 1.0.7 \| ≥ 1.2.0, \< 1.3.2 \| 1.4.0
- debian clamav (Debian): \< 1.0.7+dfsg-1~deb12u1 \| \< 1.4.1+dfsg-1
- ubuntu clamav (Ubuntu): All versions (No fix recorded) \| \< 0.103.12+dfsg-0ubuntu0.16.04.1+esm1 \| \< 0.103.12+dfsg-0ubuntu0.18.04.1+esm1 \| \< 0.103.12+dfsg-0ubuntu0.20.04.1 \| \< 0.103.12+dfsg-0ubuntu0.22.04.1 \| \< 1.0.7+dfsg-0ubuntu0.24.04.1

## References

- <https://blog.clamav.net/2024/09/clamav-141-132-107-and-010312-security.html>
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00004.html>
- <https://ubuntu.com/security/CVE-2024-20506>
- <https://www.cve.org/CVERecord?id=CVE-2024-20506>
- <https://ubuntu.com/security/notices/USN-7011-1>
- <https://ubuntu.com/security/notices/USN-7011-2>
- <https://security-tracker.debian.org/tracker/CVE-2024-20506>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-20506>
- <https://security.alpinelinux.org/vuln/CVE-2024-20506>

---

Data as of 2026-12-05T05:11:27.192Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
