ClamAV Denial of Service Vulnerability - CVE-2017-12376

clamav Updated 02 Oct 2025

Summary

26/01/2018
N/A
Yes i
High
7.8

ALPINE-CVE-2017-12376: 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 af... Affects clamav versions < 0.99.3-r0. Fixed in 0.99.3-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

ClamAV is an open-source antivirus engine designed for detecting trojans, viruses, malware, and other malicious threats. It is widely used in various environments, including email servers and web applications, to provide real-time protection against malware. The vulnerability in question affects versions 0.99.2 and earlier, where improper input validation when handling PDF files can lead to severe security issues.

Vulnerability Detail

The vulnerability, identified as CVE-2017-12376, arises from ClamAV's failure to properly validate input when processing Portable Document Format (.pdf) files. An unauthenticated remote attacker can exploit this flaw by sending a specially crafted PDF file to an affected device, potentially leading to a denial of service (DoS) condition or even arbitrary code execution. This vulnerability is particularly concerning as it allows attackers to disrupt services or gain unauthorized access to systems.

How To Fix

Minimum fixed version

0.99.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade clamav

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict access to the ClamAV service to trusted networks only, thereby minimizing exposure to potential attacks. Additionally, avoid processing untrusted PDF files until the patch is applied.

Conclusion

CVE-2017-12376 represents a significant security risk for users of ClamAV versions 0.99.2 and earlier. It is crucial to update to the patched version to mitigate the risk of denial of service and potential arbitrary code execution. Users are encouraged to implement workarounds and monitor their systems for any suspicious activity.

See every vulnerability recorded for clamav →

Share this vulnerability

FAQ

CVE-2017-12376 is a vulnerability in ClamAV that allows remote attackers to cause a denial of service or execute arbitrary code by sending crafted PDF files.

Versions 0.99.2 and earlier of ClamAV are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of CVE-2017-12376 is 7.8, indicating a high severity level.

If immediate updates are not possible, restrict access to the ClamAV service and avoid processing untrusted PDF files until the patch is applied.

Related vulnerabilities

Recent vulnerabilities recorded for clamav.

How To Fix

Minimum fixed version

0.99.3-r0

This is the first release that contains the fix.

sudo apk add --upgrade clamav

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback