Vulnerability · Published Jun 18, 2025 · Assigned by cisco

CVE-2025-20260ClamAV PDF Scanning Buffer Overflow Vulnerability

Critical 9.8

In plain English

A critical-severity heap buffer overflow in ClamAV from Cisco. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 77% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.6%top 23.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

A vulnerability in the PDF scanning processes of ClamAV could allow an unauthenticated, remote attacker to cause a buffer overflow condition, cause a denial of service (DoS) condition, or execute arbitrary code on an affected device. This vulnerability exists because memory buffers are allocated incorrectly when PDF files are processed. An attacker could exploit this vulnerability by submitting a crafted PDF file to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to trigger a buffer overflow, likely resulting in the termination of the ClamAV scanning process and a DoS condition on the affected software. Although unproven, there is also a possibility that an attacker could leverage the buffer overflow to execute arbitrary code with the privileges of the ClamAV process.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.22clamav1.4.3-r0ALPINE-CVE-2025-20260
Alpine:v3.23clamav1.4.3-r0ALPINE-CVE-2025-20260
Alpine:v3.24clamav1.4.3-r0ALPINE-CVE-2025-20260
Debian:12clamav1.0.9+dfsg-1~deb12u1DEBIAN-CVE-2025-20260
Debian:13clamav1.4.3+dfsg-1DEBIAN-CVE-2025-20260
Debian:14clamav1.4.3+dfsg-1DEBIAN-CVE-2025-20260
Ubuntu:22.04:LTSclamav1.4.3+dfsg-0ubuntu0.22.04.1USN-7615-1
Ubuntu:22.04:LTSclamav1.4.3+dfsg-0ubuntu0.22.04.1UBUNTU-CVE-2025-20260
Ubuntu:24.04:LTSclamav1.4.3+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2025-20260
Ubuntu:24.04:LTSclamav1.4.3+dfsg-0ubuntu0.24.04.1USN-7615-1
Ubuntu:25.10clamav1.4.3+dfsg-0ubuntu1UBUNTU-CVE-2025-20260

Affected products (as reported)

VendorProductVersions
Cisco ClamAV 1.4.21.4.11.4.01.3.21.3.11.3.01.2.31.2.2

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References