CVE-2019-1786 Clam AntiVirus PDF Out-of-Bounds Read Vulnerability

High 7.5 Published Updated

Remote attackers can cause a denial of service in ClamAV by sending crafted PDF files that trigger an out-of-bounds read and crash the service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-1786?

CVE-2019-1786 is a high-severity denial of service vulnerability in Clamav Clamav, published on 8 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability in the Portable Document Format (PDF) scanning functionality of Clam AntiVirus (ClamAV) Software versions 0.101.1 and 0.101.0 could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause an out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device.

Weakness: CWE-125, CWE-20

Which versions are affected by CVE-2019-1786?

It affects 1 product.

Products include Clamav Clamav.

How do I fix CVE-2019-1786?

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-2019-1786 being exploited?

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

All Clamav Clamav vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-1786, GHSA-gr4q-p783-ch2p.

Is CVE-2019-1786 in your software?

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

Check your SBOMs for free