CVE-2026-20244: ClamAV DMG Parser Memory Corruption DoS Vulnerability
ClamAV's DMG file parser contains a flaw that allows remote attackers to crash the scanning engine by submitting specially crafted DMG archive files. The vulnerability stems from inadequate boundary validation when processing DMG content, leading to integer overflow on 32-bit systems. An attacker needs only to send a malicious DMG file to a ClamAV instance; no authentication or user interaction is required. Successful exploitation terminates the scanning process, effectively disabling antivirus protection on the affected device until the service restarts.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-120
- Affected products
- 4 configuration(s)
- Published / Modified
- 2026-07-01 / 2026-07-09
NVD description (verbatim)
A vulnerability in the DMG file format parser of ClamAV could allow an unauthenticated, remote attacker to cause a DoS condition, or possibly other expanded impacts, resulting from memory corruption on an affected device. This vulnerability is due to improper boundary checks for content in DMG files during scanning, which may result in an integer overflow on 32-bit platforms only. An attacker could exploit this vulnerability by submitting a crafted file that contains DMG content to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to cause the ClamAV scanning process to terminate, resulting in a DoS condition on the affected software.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-20244 is a memory corruption vulnerability in ClamAV's DMG file format parser caused by insufficient boundary checking during content processing. The flaw manifests as an integer overflow condition that occurs exclusively on 32-bit platforms when parsing specially crafted DMG files. The vulnerability is classified under CWE-120 (Buffer Copy without Checking Size of Input), indicating a classic boundary validation gap. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a network-reachable attack requiring no privileges or user interaction, with availability impact as the primary concern. While the described impact centers on denial of service, the vulnerability's nature—memory corruption via integer overflow—could potentially enable further exploitation depending on memory layout and platform specifics.
Business impact
Organizations relying on ClamAV or Cisco Secure Endpoint for malware scanning face service unavailability if targeted with exploit files. The denial of service impact is operationally significant: scanning engines that crash cannot protect systems against subsequent malware delivery, creating a window of vulnerability. For MSPs and enterprises running ClamAV across multiple endpoints or mail gateways, widespread exploitation could compromise threat detection coverage. The 32-bit platform restriction limits scope, but many legacy systems, embedded appliances, and specialized infrastructure still operate on 32-bit architectures. Attackers could weaponize this to disable defenses during coordinated campaigns.
Affected systems
ClamAV (all affected versions) and Cisco Secure Endpoint are the documented vulnerable products. The vulnerability applies exclusively to 32-bit deployments; 64-bit systems are not affected. This includes ClamAV running on 32-bit Linux distributions, Windows systems with 32-bit agent installations, and legacy mail gateway appliances. Cisco Secure Endpoint versions running the vulnerable ClamAV engine on 32-bit platforms are similarly impacted. Systems using 64-bit builds of ClamAV or Secure Endpoint are not vulnerable to this specific flaw.
Exploitability
Exploitability is straightforward. An attacker can craft a malicious DMG file—a relatively simple binary modification—and submit it for scanning via email, file upload endpoints, or direct API calls. The attack surface is broad because any network path leading to ClamAV (mail gateways, web upload handlers, API endpoints) becomes an attack vector. No special privileges, authentication, or user interaction is needed. However, the attacker must have a route to deliver the file to a 32-bit ClamAV instance. CVSS AC:L reflects this low complexity. The absence of KEV designation suggests that as of the published date, active exploitation in the wild was not publicly documented, though this does not preclude exploitation by determined threat actors.
Remediation
Update ClamAV and Cisco Secure Endpoint to patched versions that include proper boundary validation in the DMG parser. For organizations unable to immediately patch, implement compensating controls: restrict DMG file uploads at perimeter points, reduce ClamAV exposure by running instances only where necessary, and prioritize patching for customer-facing or critical scanning nodes. Prioritize remediation on 32-bit deployments first, as they are the sole attack surface. Monitor for scanning process crashes and unexpected service terminations as indicators of exploitation attempts.
Patch guidance
Consult vendor advisories from Cisco (for Secure Endpoint) and the ClamAV project for specific patched version numbers and release dates. Typically, security updates are released to stable channels; verify compatibility with your deployment before applying. Test patches in a non-production environment on both 32-bit and 64-bit builds to confirm stability. Schedule patching windows to minimize scanning downtime, or employ redundant scanning infrastructure to maintain coverage during updates. Given the straightforward nature of the attack (file submission), patch deployments should be treated as priority.
Detection guidance
Monitor ClamAV process logs and system event logs for abnormal terminations or crashes of the clamd daemon or scanning processes. Alert on repeated scanning process restarts within short timeframes. Network detection is challenging because the exploit traffic appears as normal file submission; focus instead on behavioral anomalies: monitoring for DMG files submitted to scanning endpoints outside normal business patterns, or DMG submissions to non-Mac environments (where they are unusual). Endpoint Detection and Response (EDR) tools can flag process crashes linked to ClamAV. Consider enabling verbose logging in ClamAV to capture parser errors preceding crashes.
Why prioritize this
This vulnerability merits prompt but measured prioritization. The HIGH CVSS score (7.5) reflects the ease of exploitation and lack of authentication requirements. Availability impact is direct—scanning engines stop functioning. However, platform scope is narrow: only 32-bit systems are vulnerable, significantly reducing affected infrastructure in modern environments where 64-bit dominates. The absence of active exploitation (no KEV listing) suggests lower immediate urgency than actively exploited vulns, but does not diminish the need to patch. Recommend prioritizing 32-bit ClamAV deployments at network perimeters (mail gateways, web filters) and customer-facing appliances first, then cascading to internal systems.
Risk score, explained
The CVSS 3.1 score of 7.5 (HIGH) reflects: (1) network-based attack vector requiring no credentials or user interaction (AV:N/PR:N/UI:N), making exploitation broadly accessible; (2) low attack complexity (AC:L), as crafting a malicious DMG is trivial; (3) direct availability impact (A:H) with no confidentiality or integrity compromise—scanning processes crash, disabling defenses. The score does not account for the 32-bit-only platform restriction, which in practice narrows real-world impact. Organizations with primarily 64-bit infrastructure may lower their internal risk rating, but should not dismiss the vulnerability if any 32-bit scanning infrastructure exists.
Frequently asked questions
Why does this only affect 32-bit systems?
The vulnerability arises from an integer overflow in boundary checking logic. On 32-bit platforms, integers are smaller (typically 32 bits), making them more prone to overflow when parsing large or malformed DMG content. The same code path on 64-bit systems uses 64-bit integers, which have vastly larger ranges and do not overflow under the conditions this DMG parser encounters. This is a common pattern in memory corruption vulnerabilities.
Can this vulnerability be exploited remotely without any file upload capability?
The vulnerability requires a crafted DMG file to be submitted to ClamAV for scanning. If your ClamAV instance is not exposed to untrusted file input (e.g., it only scans files from trusted internal systems), the practical attack surface is reduced. However, most production ClamAV deployments sit at perimeters (mail gateways, web upload handlers), where they are routinely exposed to remote file submissions, making exploitation realistic for such deployments.
Is there a way to disable DMG parsing to mitigate this?
ClamAV's configuration allows disabling specific file format handlers. Disabling DMG parsing via configuration would prevent this vulnerability from being triggered, though it would also mean DMG files are not scanned for malware. This is a viable temporary mitigation for organizations that do not require DMG scanning, but patching remains the preferred long-term solution.
Will this vulnerability be exploited if it's not in the CISA KEV list?
Absence from the KEV catalog means CISA has not seen evidence of active, wide-scale exploitation as of the published date. However, this does not mean the vulnerability is unexploited or low-risk. Targeted attackers, particularly those focusing on specific industries or sectors using 32-bit ClamAV, may exploit this before or without public acknowledgment. Prompt patching is still advised.
This analysis is based on publicly available vulnerability data as of July 2026. Specific patch version numbers, release timelines, and vendor-specific mitigations should be verified directly with Cisco and the ClamAV project security advisories. The scope and impact of this vulnerability may evolve as additional analysis becomes available. Organizations should conduct internal risk assessments based on their specific use of ClamAV or Secure Endpoint and their platform architecture. This document is provided for informational purposes and does not constitute legal or compliance advice. Source: NVD (public-domain), retrieved 2026-08-10. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-20213HIGHClamAV PE Parser Memory Corruption & DoS Vulnerability
- CVE-2026-20214HIGHClamAV FSG Parser Out-of-Bounds Write DoS
- CVE-2026-20215HIGHClamAV 7z Parser Buffer Overflow DoS Vulnerability
- CVE-2026-20217HIGHClamAV PESpin Parser Remote DoS Vulnerability
- CVE-2026-20243HIGHClamAV ALZ Parser Memory Corruption DoS Vulnerability
- CVE-2026-20216HIGHClamAV InstallShield Parser DoS Vulnerability
- CVE-2018-25426HIGHWinMTR 0.91 Denial-of-Service Buffer Overflow Vulnerability
- CVE-2018-25432HIGHArm Whois 3.11 Buffer Overflow Allows Local Code Execution