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

Critical 9.8 Published Updated

Remote attackers can trigger a heap-based buffer over-read in ClamAV via malicious files, causing denial of service or arbitrary code execution.

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

What is CVE-2017-12377?

CVE-2017-12377 is a critical memory corruption vulnerability in Clamav Clamav, published on 26 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

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 in mew packet files sent to an affected device. A successful exploit could cause a heap-based buffer over-read condition in mew.c when ClamAV scans the malicious file, allowing the attacker to cause a DoS condition or potentially execute arbitrary code on the affected device.

Weakness: CWE-125

Which versions are affected by CVE-2017-12377?

It affects 2 products.

Products include Clamav Clamav, Debian Debian Linux.

How do I fix CVE-2017-12377?

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-12377 being exploited?

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

All Clamav Clamav vulnerabilities

Sources

Also known as ALPINE-CVE-2017-12377, CLEANSTART-2026-UG95369, DEBIAN-CVE-2017-12377, GHSA-7jpj-m78q-vr62, UBUNTU-CVE-2017-12377.

Is CVE-2017-12377 in your software?

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

Check your SBOMs for free