CVE-2018-0202 Denial of service in ClamAV

Medium 5.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 during scanning.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-0202?

CVE-2018-0202 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 27 Mar 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

clamscan in ClamAV before 0.99.4 contains a vulnerability that could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. The vulnerability is due to improper input validation checking mechanisms when handling Portable Document Format (.pdf) files sent to an affected device. An unauthenticated, remote attacker could exploit this vulnerability by sending a crafted .pdf file to an affected device. This action could cause an out-of-bounds read when ClamAV scans the malicious file, allowing the attacker to cause a DoS condition. This concerns pdf_parse_array and pdf_parse_string in libclamav/pdfng.c. Cisco Bug IDs: CSCvh91380, CSCvh91400.

Weakness: CWE-125

Which versions are affected by CVE-2018-0202?

It affects 3 products.

Products include Canonical Ubuntu Linux, Clamav Clamav, Debian Debian Linux.

How do I fix CVE-2018-0202?

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-2018-0202 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-0202, CLEANSTART-2026-CA69307, DEBIAN-CVE-2018-0202, GHSA-r382-prm5-5rqf, UBUNTU-CVE-2018-0202.

Is CVE-2018-0202 in your software?

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

Check your SBOMs for free