cve.bz

CVE-2024-20505 clamav clamav: Out-of-bounds Read

7.5 highEPSS 0.6%Fix available

High (7.5) in clamav clamav. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th 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-125 Out-of-bounds Read
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-20505 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-20505?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-20505?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-20505 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-20505
Debian13, 14clamav1.4.1+dfsg-1DEBIAN-CVE-2024-20505
Ubuntu20.04:LTSclamav0.103.12+dfsg-0ubuntu0.20.04.1UBUNTU-CVE-2024-20505 USN-7011-1
Ubuntu22.04:LTSclamav0.103.12+dfsg-0ubuntu0.22.04.1UBUNTU-CVE-2024-20505 USN-7011-1
Ubuntu24.04:LTSclamav1.0.7+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2024-20505 USN-7011-1
UbuntuPro:14.04:LTSclamavno fix listedUBUNTU-CVE-2024-20505
UbuntuPro:16.04:LTSclamav0.103.12+dfsg-0ubuntu0.16.04.1+esm1UBUNTU-CVE-2024-20505 USN-7011-2
UbuntuPro:18.04:LTSclamav0.103.12+dfsg-0ubuntu0.18.04.1+esm1UBUNTU-CVE-2024-20505 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-20505
Azure Linux2clamav1.0.7-1AZL-48647
Azure Linux3clamav1.0.7-1AZL-48680

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.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON