CVE-2021-1252
Clam AntiVirus vulnerability analysis and mitigation

Overview

A vulnerability was discovered in the Excel XLM macro parsing module in Clam AntiVirus (ClamAV) Software versions 0.103.0 and 0.103.1. The vulnerability (CVE-2021-1252) was disclosed on April 8, 2021, and is due to improper error handling that may result in an infinite loop. This vulnerability affects the Excel document parsing functionality in ClamAV (NVD, ClamAV Blog).

Technical details

The vulnerability is characterized by improper error handling in the Excel XLM macro parsing module, which can result in an infinite loop condition. The severity of this vulnerability is rated as HIGH with a CVSS v3.1 Base Score of 7.5 (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). The vulnerability is classified under CWE-835 (Loop with Unreachable Exit Condition) and CWE-20 (Improper Input Validation) (NVD).

Impact

An unauthenticated, remote attacker could exploit this vulnerability by sending a crafted Excel file to an affected device. A successful exploit could cause the ClamAV scanning process to hang, resulting in a denial of service condition. This could potentially disrupt antivirus scanning capabilities on affected systems (NVD).

Mitigation and workarounds

The vulnerability was patched in ClamAV version 0.103.2. Users are advised to update their ClamAV installations to this version or later. The fix was released on April 7, 2021, as part of a security patch release that addressed multiple vulnerabilities (ClamAV Blog).

Additional resources


SourceThis report was generated using AI

Related Clam AntiVirus vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20260CRITICAL9.8
  • Clam AntiVirusClam AntiVirus
  • clamav-filesystem
NoYesJun 18, 2025
CVE-2025-20234HIGH7.5
  • Clam AntiVirusClam AntiVirus
  • clamav-filesystem
NoYesJun 18, 2025
CVE-2025-20128HIGH7.5
  • Clam AntiVirusClam AntiVirus
  • clamav1.4-milter-debuginfo
NoYesJan 22, 2025
CVE-2024-20505HIGH7.5
  • Clam AntiVirusClam AntiVirus
  • clamav-update-debuginfo
NoYesSep 04, 2024
CVE-2024-20506MEDIUM6.1
  • Clam AntiVirusClam AntiVirus
  • clamav-doc
NoYesSep 04, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management