Skip to content

CVE-2025-20260 ClamAV PDF Scanning Buffer Overflow Vulnerability

CriticalCVSS 9.8 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebianNetwork AppliancesCisco

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.

Upgrade path

12 packages: 11 fixed.

PackageAffectedFixed inStatus
alpine/clamav(Alpine v3.22) >= 1.2.0, < 1.4.3-r0 1.4.3-r0 Fixed
alpine/clamav(Alpine v3.23) >= 1.2.0, < 1.4.3-r0 1.4.3-r0 Fixed
alpine/clamav(Alpine v3.24) >= 1.2.0, < 1.4.3-r0 1.4.3-r0 Fixed
azure linux clamav(Azure Linux 3.0) < 1.0.9-1 1.0.9-1 Fixed
cbl-mariner clamav(CBL-Mariner 2.0) < 1.0.9-1 1.0.9-1 Fixed
clamav < 1.0.9; >= 1.2.0, < 1.4.3 1.0.9, 1.4.3 Fixed
debian/clamav(Debian 12) < 1.0.9+dfsg-1~deb12u1; = 1.0.1+dfsg-2; = 1.0.2+dfsg-1; = 1.0.2+dfsg-1~deb12u1 +12 more 1.0.9+dfsg-1~deb12u1 Fixed
debian/clamav(Debian 13) < 1.4.3+dfsg-1 1.4.3+dfsg-1 Fixed
debian/clamav(Debian 14) < 1.4.3+dfsg-1 1.4.3+dfsg-1 Fixed
ubuntu/clamav(Ubuntu 22.04) < 1.4.3+dfsg-0ubuntu0.22.04.1 1.4.3+dfsg-0ubuntu0.22.04.1 Fixed
ubuntu/clamav(Ubuntu 24.04) < 1.4.3+dfsg-0ubuntu0.24.04.1 1.4.3+dfsg-0ubuntu0.24.04.1 Fixed
cisco ClamAV = 1.2.0; = 1.2.1; = 1.2.2; = 1.2.3 +6 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cbl-mariner clamav(CBL-Mariner:2.0) < 1.0.9-1 1.0.9-1
azure linux clamav(Azure Linux:3.0) < 1.0.9-1 1.0.9-1
debian/clamav(Debian:12) < 1.0.9+dfsg-1~deb12u1 1.0.9+dfsg-1~deb12u1
debian/clamav(Debian:12) = 1.0.1+dfsg-2 No fix listed
debian/clamav(Debian:12) = 1.0.2+dfsg-1 No fix listed
debian/clamav(Debian:12) = 1.0.2+dfsg-1~deb12u1 No fix listed
debian/clamav(Debian:12) = 1.0.3+dfsg-1 No fix listed
debian/clamav(Debian:12) = 1.0.3+dfsg-1~deb12u1 No fix listed
debian/clamav(Debian:12) = 1.0.3+dfsg-2 No fix listed
debian/clamav(Debian:12) = 1.0.4+dfsg-1 No fix listed
debian/clamav(Debian:12) = 1.0.5+dfsg-1 No fix listed
debian/clamav(Debian:12) = 1.0.5+dfsg-1.1 No fix listed
debian/clamav(Debian:12) = 1.0.5+dfsg-1~deb12u1 No fix listed
debian/clamav(Debian:12) = 1.0.6+dfsg-1 No fix listed
debian/clamav(Debian:12) = 1.0.7+dfsg-1~deb11u1 No fix listed
debian/clamav(Debian:12) = 1.0.7+dfsg-1~deb11u2 No fix listed
debian/clamav(Debian:12) = 1.0.7+dfsg-1~deb12u1 No fix listed
debian/clamav(Debian:12) = 1.0.9+dfsg-1~deb11u1 No fix listed
debian/clamav(Debian:13) < 1.4.3+dfsg-1 1.4.3+dfsg-1
debian/clamav(Debian:14) < 1.4.3+dfsg-1 1.4.3+dfsg-1
cisco ClamAV = 1.4.2 No fix listed
cisco ClamAV = 1.4.1 No fix listed
cisco ClamAV = 1.4.0 No fix listed
cisco ClamAV = 1.3.2 No fix listed
cisco ClamAV = 1.3.1 No fix listed
Show 12 more
ProductAffected versionsFixed in
cisco ClamAV = 1.3.0 No fix listed
cisco ClamAV = 1.2.3 No fix listed
cisco ClamAV = 1.2.2 No fix listed
cisco ClamAV = 1.2.1 No fix listed
cisco ClamAV = 1.2.0 No fix listed
ubuntu/clamav(Ubuntu:22.04) < 1.4.3+dfsg-0ubuntu0.22.04.1 1.4.3+dfsg-0ubuntu0.22.04.1
alpine/clamav(Alpine:v3.22) >= 1.2.0, < 1.4.3-r0 1.4.3-r0
alpine/clamav(Alpine:v3.23) >= 1.2.0, < 1.4.3-r0 1.4.3-r0
alpine/clamav(Alpine:v3.24) >= 1.2.0, < 1.4.3-r0 1.4.3-r0
ubuntu/clamav(Ubuntu:24.04) < 1.4.3+dfsg-0ubuntu0.24.04.1 1.4.3+dfsg-0ubuntu0.24.04.1
clamav < 1.0.9 1.0.9
clamav >= 1.2.0, < 1.4.3 1.4.3

References