Heap-based buffer overflow in ClamAV - CVE-2025-20128

 

Heap-based buffer overflow in ClamAV - CVE-2025-20128

Published: January 22, 2025 / Updated: June 18, 2025


Vulnerability identifier: #VU103240
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-20128
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
ClamAV
Secure Endpoint Connector for Mac
Secure Endpoint Connector for Linux
Secure Endpoint Private Cloud
Secure Endpoint Connector for Windows
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Basesystem Module
openSUSE Leap
Ubuntu
RSA Authentication Manager
Zimbra Collaboration
clamav (Ubuntu package)
clamav-milter-debuginfo
libclamav12-debuginfo
libfreshclam3-debuginfo
clamav-devel
clamav-milter
libclammspack0-debuginfo
clamav-debugsource
libclamav12
libfreshclam3
clamav
libclammspack0
clamav-debuginfo
clamav-docs-html

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when decrypting OLE2 file format. A remote attacker can pass a specially crafted file to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.


How to mitigate CVE-2025-20128

Install update from vendor's website.

Sources