CVE-2025-20260CWE-122

ClamAV PDF Scanning Buffer Overflow Vulnerability

Critical · published June 18, 2025

CVSS v3.1
9.8
EPSS
2%
Percentile
76.0
In the wild
Unconfirmed
What it is

🚨 A well-crafted PDF is all it takes to send ClamAV into a tailspin! This buffer overflow vulnerability could lead to a denial of service, or worse, arbitrary code execution. 🔥 Think of ClamAV as a restaurant that processes orders (PDF files). If the kitchen mistakenly overfills a pot (a buffer), it could cause a massive spill, shutting down the whole operation while the staff scrambles to clean up the mess. That's exactly what happens here! An attacker could leverage this vulnerability to crash the ClamAV scanning process, leading to a denial of service (DoS) condition. But wait, it gets scarier! There's a chance they could execute arbitrary code with the same privileges as the ClamAV process, potentially taking control of the system. Yikes!

Put simply

Think of ClamAV as a restaurant that processes orders (PDF files). If the kitchen mistakenly overfills a pot (a buffer), it could cause a massive spill, shutting down the whole operation while the staff scrambles to clean up the mess. That's exactly what happens here! This vulnerability arises from incorrect memory buffer allocation while processing PDF files, allowing an attacker to trigger a buffer overflow. By submitting a specially crafted PDF, they could cause the application to crash or run malicious code.

What to do

An attacker could leverage this vulnerability to crash the ClamAV scanning process, leading to a denial of service (DoS) condition. But wait, it gets scarier! There's a chance they could execute arbitrary code with the same privileges as the ClamAV process, potentially taking control of the system. Yikes! Immediate action is required! Update ClamAV to the latest version that addresses this vulnerability. Regularly review your scanning process and consider implementing additional input validation to guard against crafted files. 🛡️ With a quick patch, you can thwart this threat for good! You've got this! 🦸

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01629 · 76.0th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2025-06-18T17:08Z
EPSS history
Timeline
  • 18 JUN 17:08Z
    ClamAV PDF Scanning Buffer Overflow Vulnerability
    cvelistv5