Cloudanix VulnDB

CVE-2024-20505

High · 7.5

CVSS

7.5

EPSS

0.6%

Published

Sep 4, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in antivirus software can let attackers crash the scanning engine by sending it a specially made PDF file.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Out-of-bounds read in the PDF parsing module terminates the ClamAV scanning process.

Why it matters to the business

Disrupts malware scanning operations across email gateways, file servers, and endpoints, potentially allowing threats to go undetected during outages.

How an attack unfolds

An attacker creates a specially crafted PDF file and submits it to any ClamAV instance for scanning; the malformed PDF triggers an out-of-bounds read that crashes the scanner.

How to fix it

Upgrade cisco-talos/clamav to commit 93d9e734200ad2eec6d1af6d52e0a4b7a7ae5d26 or a later release that contains the fix.

How to confirm the fix worked

Confirm the running binary or package reports a version containing commit 93d9e734200ad2eec6d1af6d52e0a4b7a7ae5d26; re-scan a set of known PDF samples and verify the process remains stable.

Typical attack path

  1. Craft a malicious PDF that triggers an out-of-bounds read during parsing
  2. Deliver the PDF via email, file upload, or network share to a system using ClamAV
  3. Trigger ClamAV to scan the file
  4. Cause the scanning process to terminate

How to detect it

Review system and ClamAV logs for abrupt termination of scanning processes when PDF files are processed; correlate with file submission timestamps.

What your security team should do

  • Apply the fixed commit or newer release to all ClamAV deployments
  • Add monitoring for unexpected ClamAV process exits in system and application logs
  • Temporarily disable PDF scanning only if an immediate upgrade is impossible and risk is accepted

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard clamav 0 1.4.1-r0
Chainguard clamav-1.3 0 1.3.2-r0
Chainguard clamav-1.3-clamdscan 0 1.3.2-r0
Chainguard clamav-1.3-daemon 0 1.3.2-r0
Chainguard clamav-1.3-db 0 1.3.2-r0
Chainguard clamav-1.3-dev 0 1.3.2-r0
Chainguard clamav-1.3-doc 0 1.3.2-r0
Chainguard clamav-1.3-freshclam 0 1.3.2-r0
Chainguard clamav-1.3-libunrar 0 1.3.2-r0
Chainguard clamav-1.3-milter 0 1.3.2-r0
Chainguard clamav-1.3-scanner 0 1.3.2-r0
Chainguard clamav-1.4 0 1.4.1-r0
Chainguard clamav-1.4-clamdscan 0 1.4.1-r0
Chainguard clamav-1.4-daemon 0 1.4.1-r0
Chainguard clamav-1.4-db 0 1.4.1-r0
Chainguard clamav-1.4-dev 0 1.4.1-r0
Chainguard clamav-1.4-doc 0 1.4.1-r0
Chainguard clamav-1.4-docker 0 1.4.1-r0
Chainguard clamav-1.4-freshclam 0 1.4.1-r0
Chainguard clamav-1.4-libunrar 0 1.4.1-r0
Chainguard clamav-1.4-milter 0 1.4.1-r0
Chainguard clamav-1.4-scanner 0 1.4.1-r0
Chainguard clamav-clamdscan 0 1.4.1-r0
Chainguard clamav-daemon 0 1.4.1-r0
Chainguard clamav-db 0 1.4.1-r0
Chainguard clamav-dev 0 1.4.1-r0
Chainguard clamav-doc 0 1.4.1-r0
Chainguard clamav-libunrar 0 1.4.1-r0
Chainguard clamav-milter 0 1.4.1-r0
Chainguard clamav-scanner 0 1.4.1-r0
Chainguard freshclam 0 1.4.1-r0
Debian:11 clamav 0 No fix
Debian:11 clamav 0 1.0.7+dfsg-1~deb11u1
Debian:12 clamav 0 No fix
Debian:12 clamav 0 1.0.7+dfsg-1~deb12u1
Debian:13 clamav 0 No fix
Debian:13 clamav 0 1.4.1+dfsg-1
Mageia:9 clamav 0 1.0.7-1.mga9
SUSE:Enterprise Storage 7.1 clamav 0 0.103.12-150000.3.53.1
SUSE:Enterprise Storage 7.1 clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise Micro 5.5 clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise Module for Basesystem 15 SP5 clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 clamav 0 0.103.12-150600.18.3.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 clamav 0 1.4.2-150600.18.6.1
SUSE:Linux Enterprise Server 12 SP5 clamav 0 0.103.12-3.33.1
SUSE:Linux Enterprise Server 12 SP5-LTSS clamav 0 1.4.2-3.36.1
SUSE:Linux Enterprise Server 15 SP2-LTSS clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise Server 15 SP3-LTSS clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise Server 15 SP3-LTSS clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise Server 15 SP4-LTSS clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise Server 15 SP4-LTSS clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise Server 15 SP5-LTSS clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 clamav 0 1.4.2-3.36.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 clamav 0 0.103.12-3.33.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 clamav 0 0.103.12-150000.3.53.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 clamav 0 1.4.2-150200.8.3.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 clamav 0 1.4.2-150200.8.3.1
SUSE:Manager Proxy 4.3 clamav 0 0.103.12-150000.3.53.1
SUSE:Manager Proxy 4.3 clamav 0 1.4.2-150200.8.3.1
SUSE:Manager Server 4.3 clamav 0 0.103.12-150000.3.53.1
SUSE:Manager Server 4.3 clamav 0 1.4.2-150200.8.3.1
Ubuntu:20.04:LTS clamav 0 0.103.12+dfsg-0ubuntu0.20.04.1
Ubuntu:22.04:LTS clamav 0 0.103.12+dfsg-0ubuntu0.22.04.1
Ubuntu:24.04:LTS clamav 0 1.0.7+dfsg-0ubuntu0.24.04.1
Ubuntu:24.10 clamav 0 1.3.1+dfsg-5ubuntu2
Ubuntu:25.04 clamav 0 1.3.1+dfsg-5ubuntu2
Ubuntu:Pro:14.04:LTS clamav 0 No fix
Ubuntu:Pro:16.04:LTS clamav 0 0.103.12+dfsg-0ubuntu0.16.04.1+esm1
Ubuntu:Pro:18.04:LTS clamav 0 0.103.12+dfsg-0ubuntu0.18.04.1+esm1
Wolfi clamav 0 1.4.1-r0
Wolfi clamav-1.3 0 1.3.2-r0
Wolfi clamav-1.3-clamdscan 0 1.3.2-r0
Wolfi clamav-1.3-daemon 0 1.3.2-r0
Wolfi clamav-1.3-db 0 1.3.2-r0
Wolfi clamav-1.3-dev 0 1.3.2-r0
Wolfi clamav-1.3-doc 0 1.3.2-r0
Wolfi clamav-1.3-freshclam 0 1.3.2-r0
Wolfi clamav-1.3-libunrar 0 1.3.2-r0
Wolfi clamav-1.3-milter 0 1.3.2-r0
Wolfi clamav-1.3-scanner 0 1.3.2-r0
Wolfi clamav-1.4 0 1.4.1-r0
Wolfi clamav-1.4-clamdscan 0 1.4.1-r0
Wolfi clamav-1.4-daemon 0 1.4.1-r0
Wolfi clamav-1.4-db 0 1.4.1-r0
Wolfi clamav-1.4-dev 0 1.4.1-r0
Wolfi clamav-1.4-doc 0 1.4.1-r0
Wolfi clamav-1.4-docker 0 1.4.1-r0
Wolfi clamav-1.4-freshclam 0 1.4.1-r0
Wolfi clamav-1.4-libunrar 0 1.4.1-r0
Wolfi clamav-1.4-milter 0 1.4.1-r0
Wolfi clamav-1.4-scanner 0 1.4.1-r0
Wolfi clamav-clamdscan 0 1.4.1-r0
Wolfi clamav-daemon 0 1.4.1-r0
Wolfi clamav-db 0 1.4.1-r0
Wolfi clamav-dev 0 1.4.1-r0
Wolfi clamav-doc 0 1.4.1-r0
Wolfi clamav-libunrar 0 1.4.1-r0
Wolfi clamav-milter 0 1.4.1-r0
Wolfi clamav-scanner 0 1.4.1-r0
Wolfi freshclam 0 1.4.1-r0
openSUSE:Leap 15.5 clamav 0 0.103.12-150000.3.53.1
openSUSE:Leap 15.6 clamav 0 0.103.12-150600.18.3.1
openSUSE:Leap 15.6 clamav 0 1.4.2-150600.18.6.1
openSUSE:Tumbleweed clamav 0 1.4.1-1.1

Related vulnerabilities