CVE-2026-20213: ClamAV PE Parser Memory Corruption & DoS Vulnerability
ClamAV, a widely-used open-source antivirus engine, contains a flaw in how it processes PE (Portable Executable) files during scanning. An attacker can craft a malicious PE file that, when scanned, causes ClamAV to crash due to improper memory handling. This disrupts the scanning service and prevents legitimate threat detection from functioning. While the primary impact is denial of service, the underlying memory corruption could potentially enable more severe attacks depending on how the vulnerability is exploited.
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 PE 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 PE files during scanning, which may result in an out-of-bounds buffer write. An attacker could exploit this vulnerability by submitting a crafted file that contains PE 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-20213 stems from insufficient boundary validation in ClamAV's PE file parser. Specifically, the parser fails to properly check buffer limits before writing data during PE content analysis, resulting in an out-of-bounds buffer write condition (CWE-120). A specially crafted PE file submitted for scanning can trigger this write, corrupting memory and crashing the ClamAV daemon or scanning process. The vulnerability requires network access but no authentication, and the parsing occurs automatically during normal scanning operations.
Business impact
Organizations relying on ClamAV for email gateway scanning, file server protection, or endpoint scanning will experience scanning service interruptions if exploited. This creates a window where malware can be uploaded or transmitted without detection. In environments where ClamAV is a critical layer of the security stack—particularly in containerized or cloud deployments—repeated crashes could degrade threat coverage and compliance posture. For vendors like Cisco who integrate ClamAV into Secure Endpoint, patch availability and deployment speed directly affect customer protection levels.
Affected systems
ClamAV installations across all supported versions prior to the fix are vulnerable. Cisco Secure Endpoint, which incorporates ClamAV, is also affected. The vulnerability applies regardless of deployment model—on-premises scanning services, cloud-based gateway integrations, and endpoint agents all process PE files as part of routine malware detection. Any system actively scanning files or email attachments is exposed.
Exploitability
Exploitation is straightforward: an attacker crafts a PE file with boundary-violating content and submits it for scanning—via email, web upload, or direct file system access depending on the target's architecture. No user interaction is required beyond the normal scanning process. The attack surface is broad because PE files are ubiquitous in Windows environments, and scanning is typically automatic. The CVSS score of 7.5 (HIGH) reflects network-accessible, low-complexity exploitation with no authentication barrier, though impact is currently limited to availability. However, memory corruption vulnerabilities carry residual risk of escalation.
Remediation
Patch ClamAV and any dependent products (such as Cisco Secure Endpoint) immediately upon vendor release. Most organizations should apply updates as part of their regular patch cycle, but given the ease of exploitation and DoS impact, expedited testing and deployment is warranted. Ensure scanning service monitoring is in place to detect unexpected restarts or crashes that may indicate exploitation attempts. Verify patching across all deployment points—mail gateways, endpoints, containerized scanners, and appliances.
Patch guidance
Consult the official ClamAV release notes and Cisco security advisories for specific patched versions and download locations. Test patches in a non-production environment before enterprise rollout. For Cisco Secure Endpoint customers, follow the standard update mechanism within your management console; patches are typically rolled out incrementally to managed devices. If manual intervention is required, prioritize internet-facing systems and high-traffic scanning nodes. Verify successful patching by checking ClamAV version post-deployment.
Detection guidance
Monitor ClamAV and scanning service logs for unexpected process termination or segmentation faults coinciding with file submissions. Implement alerting on scanning service crashes or restarts. Network-based detection is limited unless you inspect file submissions; however, behavioral monitoring of antivirus processes for abnormal memory usage or crashes can flag exploitation attempts. Endpoint Detection and Response (EDR) tools should flag unexpected scanner process terminations. Log file uploads or submissions to systems running vulnerable ClamAV instances and correlate with service availability events.
Why prioritize this
Although not yet on CISA's Known Exploited Vulnerabilities list, this vulnerability merits high priority due to its ease of exploitation, immediate impact on security infrastructure availability, and the broad attack surface presented by ubiquitous PE file handling. A successful exploit directly degrades an organization's ability to detect threats, creating operational risk. The memory corruption vector, while currently DoS-focused, suggests potential for future weaponization if deeper exploitation techniques emerge.
Risk score, explained
The CVSS 3.1 score of 7.5 (HIGH) reflects a network-accessible vulnerability requiring no authentication or user interaction, with a low complexity barrier to exploitation. The vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) emphasizes that the primary impact is availability—service disruption. The absence of confidentiality or integrity impact in the current baseline does not diminish the risk, as memory corruption vulnerabilities can be context-dependent; in certain configurations or with sophisticated payloads, impacts could exceed the baseline scoring. The vulnerability's position in security-critical infrastructure (antivirus/scanning) amplifies its business risk despite the moderate CVSS numeric value.
Frequently asked questions
Can this vulnerability be exploited remotely without any file submission by the target organization?
No. The vulnerability is triggered when a crafted PE file is actively submitted to ClamAV for scanning. An attacker must deliver the malicious file to a system running vulnerable ClamAV—typically via email, web upload, file share, or similar mechanisms that initiate scanning. However, because scanning is automatic in most deployments, simply sending a suspicious file can trigger exploitation.
Is Cisco Secure Endpoint affected, and does it have a separate patch timeline?
Yes, Cisco Secure Endpoint incorporates ClamAV and is affected. Cisco typically releases security patches through their standard advisory process. Consult Cisco's security advisories and the Secure Endpoint management console for patched versions and deployment guidance. Patch timelines may differ from standalone ClamAV, so verify Cisco's announced availability rather than assuming alignment.
What does 'memory corruption' mean in this context, and why does it matter if the main impact is DoS?
Memory corruption refers to the out-of-bounds buffer write—data being written to memory locations not intended to hold it. In this case, it causes a crash (DoS). However, memory corruption is a known precursor to more severe attacks (such as code execution) if an attacker can control the written data or chain the vulnerability with other flaws. Even though current exploitation results in a crash, the underlying flaw is classified as CWE-120, a category known to enable privilege escalation or code execution in other contexts. This justifies prioritizing the patch despite the current DoS limitation.
If we have air-gapped systems with ClamAV, are we at risk?
Air-gapped systems are at reduced risk because the attacker must physically deliver a malicious PE file to the environment. However, if your air-gapped network processes files from external sources (USB drives, occasional transfers), the risk remains. Additionally, if those systems are later connected to a network or if files are exfiltrated and re-introduced, they remain vulnerable until patched. Treat air-gapped deployments as lower-urgency but not exempt.
This analysis is based on publicly available vulnerability data and vendor advisories as of the publication date. Security threats and patch availability evolve; verify all remediation steps and patch versions against official vendor sources before deployment. SEC.co does not provide guarantee of exploit status or real-world weaponization likelihood. Organizations should conduct their own risk assessment and testing. For specific patch availability, version numbers, and deployment procedures, consult ClamAV and Cisco official channels directly. Source: NVD (public-domain), retrieved 2026-08-10. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- 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-20244HIGHClamAV DMG 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