Out-of-bounds write in ClamAV - CVE-2025-20260

 

Out-of-bounds write in ClamAV - CVE-2025-20260

Published: June 18, 2025


Vulnerability identifier: #VU111270
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-20260
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing PDF files. A remote attacker can pass a specially crafted PDF file to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

ClamAV
Storage Defender – Data Protect
Fedora
Ubuntu
openEuler
RSA Authentication Manager
clamav
clamav-update
clamav-data
clamd
clamav-filesystem
clamav-help
clamav-debuginfo
clamav-debugsource
clamav-devel
clamav-milter
clamav (Ubuntu package)
squidclamav

How to mitigate CVE-2025-20260

Install updates from vendor's website.

ClamAV - addressed in versions 1.0.9, 1.4.3
Storage Defender – Data Protect - update to 2.1.0
RSA Authentication Manager - update to 8.8 Patch 2
clamav - addressed in versions 1.0.9-1.el8, 1.0.9-1.el9, 1.0.9-1.fc41, 1.4.3-1.el10_1
clamav-update - update to 1.0.9-2
clamav-data - update to 1.0.9-2
clamd - update to 1.0.9-2
clamav-filesystem - update to 1.0.9-2
clamav-help - update to 1.0.9-2
clamav - update to 1.0.9-2
clamav-debuginfo - update to 1.0.9-2
clamav-debugsource - update to 1.0.9-2
clamav-devel - update to 1.0.9-2
clamav-milter - update to 1.0.9-2
clamav (Ubuntu package) - addressed in versions 1.4.3+dfsg-0ubuntu0.20.04.1+esm1, 1.4.3+dfsg-0ubuntu0.22.04.1, 1.4.3+dfsg-0ubuntu0.24.04.1, 1.4.3+dfsg-0ubuntu0.24.10.1, 1.4.3+dfsg-0ubuntu0.25.04.1
squidclamav - addressed in versions 7.5-1.el8, 7.5-1.el9

External References

Related Security Bulletins