CVEfocus › CVE database › CVE-2024-20505

CVE-2024-20505ClamAV Memory Handling DoS

CVSS 4.0 MediumEPSS 0.8% (higher than 55% of CVEs)Published 2024-09-04Updated 2025-11-03Assigner: cisco

A vulnerability in the PDF parsing 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 unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. The vulnerability is due to an out of bounds read. An attacker could exploit this vulnerability by submitting a crafted PDF file to be scanned by ClamAV on an affected device. An exploit could allow the attacker to terminate the scanning process.

CWE-125

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04clamavFixed1.0.7+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2024-20505
Ubuntu 22.04clamavFixed0.103.12+dfsg-0ubuntu0.22.04.1UBUNTU-CVE-2024-20505
Ubuntu 20.04clamavFixed0.103.12+dfsg-0ubuntu0.20.04.1UBUNTU-CVE-2024-20505
Ubuntu 18.04clamavFix pending0.103.12+dfsg-0ubuntu0.18.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-20505
Ubuntu 16.04clamavFix pending0.103.12+dfsg-0ubuntu0.16.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-20505
Ubuntu 14.04clamavFix pendingUBUNTU-CVE-2024-20505
Debian 14clamavFixed1.4.1+dfsg-1DEBIAN-CVE-2024-20505
Debian 13clamavFixed1.4.1+dfsg-1DEBIAN-CVE-2024-20505
Debian 12clamavFixed1.0.7+dfsg-1~deb12u1DEBIAN-CVE-2024-20505
Alpine Linux 3.24clamavFixed1.3.2-r0ALPINE-CVE-2024-20505
Alpine Linux 3.23clamavFixed1.3.2-r0ALPINE-CVE-2024-20505
Alpine Linux 3.22clamavFixed1.3.2-r0ALPINE-CVE-2024-20505
Alpine Linux 3.21clamavFixed1.3.2-r0ALPINE-CVE-2024-20505

What the vendor says

As published in the CVE record by cisco, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.