CVE-2017-12376 Memory corruption in ClamAV AntiVirus software versions 0.99.2 and prior

High 7.8 Published Updated

Remote attackers can trigger a buffer overflow in ClamAV via crafted PDF files, leading to denial of service or arbitrary code execution.

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-2017-12376?

CVE-2017-12376 is a high-severity memory corruption vulnerability in Clamav Clamav, published on 26 Jan 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

ClamAV AntiVirus software versions 0.99.2 and prior contain a vulnerability that could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition or potentially execute arbitrary code 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 a handle_pdfname (in pdf.c) buffer overflow when ClamAV scans the malicious file, allowing the attacker to cause a DoS condition or potentially execute arbitrary code.

Weakness: CWE-119

Which versions are affected by CVE-2017-12376?

It affects 2 products.

Products include Clamav Clamav, Debian Debian Linux.

How do I fix CVE-2017-12376?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-12376 being exploited?

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

All Clamav Clamav vulnerabilities

Sources

Also known as ALPINE-CVE-2017-12376, CLEANSTART-2026-QO12077, DEBIAN-CVE-2017-12376, GHSA-fh3w-wh5j-fm2c, UBUNTU-CVE-2017-12376.

Is CVE-2017-12376 in your software?

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

Check your SBOMs for free