CVE-2024-20505 ClamAV Memory Handling DoS

Medium 4.0 Published Updated

Remote attackers can cause a denial of service by submitting crafted PDF files to ClamAV, terminating the scanning process.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-20505?

CVE-2024-20505 is a medium-severity denial of service vulnerability in Clamav Clamav, published on 4 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2024-20505?

It affects 1 product.

Products include Clamav Clamav.

How do I fix CVE-2024-20505?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-20505 being exploited?

There is no known exploitation of CVE-2024-20505 in the wild and no public exploit code.

All Clamav Clamav vulnerabilities

Sources

Also known as AZL-48647, AZL-48680, DEBIAN-CVE-2024-20505, GHSA-6qcx-p3rr-pfwf, UBUNTU-CVE-2024-20505.

Is CVE-2024-20505 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free