CVE catalog

CVE-2024-20506

ClamAV vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianclamavsid1.4.6+dfsg-1fixed
Debianclamavforky1.4.6+dfsg-1fixed
Debianclamavtrixie1.4.3+dfsg-1fixed
Debianclamavbookworm1.4.3+dfsg-1~deb12u2fixed
Debianclamavbookworm-security1.4.6+dfsg-0+deb12u1fixed
Ubuntuclamavnoble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntuclamav-basenoble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntuclamav-daemonnoble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntuclamav-docsnoble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntuclamav-freshclamnoble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntuclamav-milternoble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntuclamav-testfilesnoble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntuclamdscannoble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntulibclamav-devnoble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntulibclamav11t64noble1.0.7+dfsg-0ubuntu0.24.04.1fixed
Ubuntuclamavpro0.99.2+dfsg-6ubuntu2vulnerable
Ubuntuclamavpro0.99.3~beta1+dfsg-2ubuntu1vulnerable
Ubuntuclamavpro0.99.3~beta1+dfsg-2ubuntu2vulnerable
Ubuntuclamavpro0.99.3+addedllvm-0ubuntu1vulnerable
Ubuntuclamavpro0.99.3+addedllvm-0ubuntu2vulnerable
Ubuntuclamavpro0.99.4+addedllvm-0ubuntu1vulnerable
Ubuntuclamavpro0.100.1+dfsg-1ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.100.1+dfsg-1ubuntu0.18.04.2vulnerable
Ubuntuclamavpro0.100.1+dfsg-1ubuntu0.18.04.3vulnerable
Ubuntuclamavpro0.100.2+dfsg-1ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.100.3+dfsg-0ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.101.4+dfsg-0ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.102.1+dfsg-0ubuntu0.18.04.2vulnerable
Ubuntuclamavpro0.102.2+dfsg-0ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.102.3+dfsg-0ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.102.4+dfsg-0ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.103.2+dfsg-0ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.103.2+dfsg-0ubuntu0.18.04.2vulnerable
Ubuntuclamavpro0.103.2+dfsg-0ubuntu0.18.04.3vulnerable
Ubuntuclamavpro0.103.5+dfsg-0ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.103.6+dfsg-0ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.103.8+dfsg-0ubuntu0.18.04.1vulnerable
Ubuntuclamavpro0.103.9+dfsg-0ubuntu0.18.04.1+esm1vulnerable
Ubuntuclamavpro0.103.12+dfsg-0ubuntu0.18.04.1+esm1fixed
Ubuntuclamav20.040.101.4+dfsg-1ubuntu1vulnerable
Ubuntuclamav20.040.102.1+dfsg-1ubuntu1vulnerable
Ubuntuclamav20.040.102.1+dfsg-2ubuntu1vulnerable
Ubuntuclamav20.040.102.1+dfsg-2ubuntu2vulnerable
Ubuntuclamav20.040.102.2+dfsg-1ubuntu1vulnerable
Ubuntuclamav20.040.102.2+dfsg-2ubuntu1vulnerable
Ubuntuclamav20.040.102.3+dfsg-0ubuntu0.20.04.1vulnerable
Ubuntuclamav20.040.102.4+dfsg-0ubuntu0.20.04.1vulnerable
Ubuntuclamav20.040.103.2+dfsg-0ubuntu0.20.04.1vulnerable
Ubuntuclamav20.040.103.2+dfsg-0ubuntu0.20.04.2vulnerable
Ubuntuclamav20.040.103.5+dfsg-1~20.04.1vulnerable
Ubuntuclamav20.040.103.6+dfsg-0ubuntu0.20.04.1vulnerable
Ubuntuclamav20.040.103.8+dfsg-0ubuntu0.20.04.1vulnerable
Ubuntuclamav20.040.103.9+dfsg-0ubuntu0.20.04.1vulnerable
Ubuntuclamav20.040.103.11+dfsg-0ubuntu0.20.04.1vulnerable
Ubuntuclamav20.040.103.12+dfsg-0ubuntu0.20.04.1fixed
Ubuntuclamav22.040.103.3+dfsg-1vulnerable
Ubuntuclamav22.040.103.4+dfsg-1vulnerable
Ubuntuclamav22.040.103.4+dfsg-1build1vulnerable
Ubuntuclamav22.040.103.5+dfsg-1vulnerable
Ubuntuclamav22.040.103.6+dfsg-0ubuntu0.22.04.1vulnerable
Ubuntuclamav22.040.103.8+dfsg-0ubuntu0.22.04.1vulnerable
Ubuntuclamav22.040.103.9+dfsg-0ubuntu0.22.04.1vulnerable
Ubuntuclamav22.040.103.11+dfsg-0ubuntu0.22.04.1vulnerable
Ubuntuclamav22.040.103.12+dfsg-0ubuntu0.22.04.1fixed
Ubuntuclamav24.041.0.2+dfsg-1ubuntu1vulnerable
Ubuntuclamav24.041.0.3+dfsg-2ubuntu1vulnerable
Ubuntuclamav24.041.0.4+dfsg-0ubuntu1vulnerable
Ubuntuclamav24.041.0.5+dfsg-1ubuntu1vulnerable
Ubuntuclamav24.041.0.5+dfsg-1.1ubuntu2vulnerable
Ubuntuclamav24.041.0.5+dfsg-1.1ubuntu3vulnerable
Ubuntuclamav24.041.0.7+dfsg-0ubuntu0.24.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianclamavsourcesid1.4.1+dfsg-1not yet assignedNot reported[1080962]
Debianclamavsourceforky1.4.1+dfsg-1not yet assignedNot reported[1080962]
Debianclamavsourcetrixie1.4.1+dfsg-1not yet assignedNot reported[1080962]
Debianclamavsourcebookworm1.0.7+dfsg-1~deb12u1not yet assignedNot reported[1080962]
Ubuntuclamavdebnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntuclamav-basedebnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntuclamav-daemondebnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntuclamav-docsdebnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntuclamav-freshclamdebnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntuclamav-milterdebnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntuclamav-testfilesdebnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntuclamdscandebnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibclamav-devdebnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibclamav11t64debnoble1.0.7+dfsg-0ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntuclamavdebpro0.103.12+dfsg-0ubuntu0.18.04.1+esm1Not reportedUBUNTU-CVE-2024-20506Not reported
Ubuntuclamavdeb20.040.103.12+dfsg-0ubuntu0.20.04.1Not reportedUBUNTU-CVE-2024-20506Not reported
Ubuntuclamavdeb22.040.103.12+dfsg-0ubuntu0.22.04.1Not reportedUBUNTU-CVE-2024-20506Not reported
Ubuntuclamavdeb24.041.0.7+dfsg-0ubuntu0.24.04.1Not reportedUBUNTU-CVE-2024-20506Not reported

[Debian bug #1080962]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [clamav]Fixed
    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • [clamav-doc]Fixed

    Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • [clamdscan]Fixed

    Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

    • 1.4.3+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1.0.7+dfsg-1~deb12u1

      usn · clamav · debian · bookworm; usn · clamav · debian · 12

[Debian 13 (Trixie)]

  • [clamav]Fixed
    Details (2)
    • 1.4.3+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

    • 1.4.3+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1 · all · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

    • 1.4.3+dfsg-1 · all · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

    • 1.4.3+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

  • [clamav-doc]Fixed

    Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1 · all · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

    • 1.4.3+dfsg-1 · all · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1 · all · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

    • 1.4.3+dfsg-1 · all · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

    • 1.4.3+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

    • 1.4.3+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

  • Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1 · all · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

    • 1.4.3+dfsg-1 · all · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

  • [clamdscan]Fixed

    Source package: [clamav]

    Details (2)
    • 1.4.3+dfsg-1 · amd64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

    • 1.4.3+dfsg-1 · arm64 · trixie

      Fixed · Fixed: 1.4.1+dfsg-1

      usn · clamav · debian · 13

Next results

Observed:

References