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: 6.9 [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]
CVE-ID: CVE-2025-20128
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


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

How to mitigate CVE-2025-20128

Install update from vendor's website.

ClamAV - addressed in versions 1.0.8, 1.4.2
RSA Authentication Manager - update to 8.7 SP2 Patch 6
Zimbra Collaboration - update to 10.1.8
clamav (Ubuntu package) - addressed in versions 1.0.8+dfsg-0ubuntu0.24.04.1, 1.4.2+dfsg-0ubuntu0.24.10.1
clamav-milter-debuginfo - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libclamav12-debuginfo - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libfreshclam3-debuginfo - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav-devel - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav-milter - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libclammspack0-debuginfo - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav-debugsource - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libclamav12 - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libfreshclam3 - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libclammspack0 - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav-debuginfo - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav-docs-html - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
Secure Endpoint Connector for Mac - update to 1.24.4
Secure Endpoint Connector for Linux - update to 1.25.1
Secure Endpoint Private Cloud - update to 4.2.0
Secure Endpoint Connector for Windows - addressed in versions 7.5.20, 8.4.3

External References

Related Security Bulletins