Heap-based Buffer Overflow Affecting clamav1.4-freshclam package, versions <0:1.4.2-1.amzn2023.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.95% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-CLAMAV14FRESHCLAM-9296989
  • published7 Mar 2025
  • disclosed22 Jan 2025

Introduced: 22 Jan 2025

CVE-2025-20128  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 clamav1.4-freshclam to version 0:1.4.2-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-866.

NVD Description

Note: Versions mentioned in the description apply only to the upstream clamav1.4-freshclam package and not the clamav1.4-freshclam package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A vulnerability in the Object Linking and Embedding 2 (OLE2) decryption routine of ClamAV could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device.

This vulnerability is due to an integer underflow in a bounds check that allows for a heap buffer overflow read. An attacker could exploit this vulnerability by submitting a crafted file containing OLE2 content to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to terminate the ClamAV scanning process, resulting in a DoS condition on the affected software. For a description of this vulnerability, see the . Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.

CVSS Base Scores

version 3.1