CVE-2017-12374 Use after free in ClamAV AntiVirus software versions 0.99.2 and prior

High 7.5 Published Updated

Remote attackers can cause a denial of service in ClamAV via a use-after-free vulnerability in mail parsing operations.

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-12374?

CVE-2017-12374 is a high-severity use after free 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

The 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 on an affected device. The vulnerability is due to a lack of input validation checking mechanisms during certain mail parsing operations (mbox.c operations on bounce messages). If successfully exploited, the ClamAV software could allow a variable pointing to the mail body which could cause a used after being free (use-after-free) instance which may lead to a disruption of services on an affected device to include a denial of service condition.

Weakness: CWE-416

Which versions are affected by CVE-2017-12374?

It affects 2 products.

Products include Clamav Clamav, Debian Debian Linux.

How do I fix CVE-2017-12374?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-12374 being exploited?

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

All Clamav Clamav vulnerabilities

Sources

Also known as ALPINE-CVE-2017-12374, CLEANSTART-2026-HP92554, DEBIAN-CVE-2017-12374, GHSA-83mc-pmqp-53x3, UBUNTU-CVE-2017-12374.

Is CVE-2017-12374 in your software?

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

Check your SBOMs for free