CVE-2026-20213

Description

A flaw was found in ClamAV. An unauthenticated, remote attacker could exploit this vulnerability by submitting a specially crafted file containing Portable Executable (PE) content for scanning. This is due to improper boundary checks during the scanning process, which may lead to an out-of-bounds buffer write and memory corruption. A successful exploit could result in a Denial of Service (DoS) condition, causing the ClamAV scanning process to terminate.

Statement

This is an Important flaw in ClamAV's PE file parser, allowing an unauthenticated, remote attacker to trigger a Denial of Service by submitting a crafted PE file for scanning. The vulnerability stems from improper boundary checks, leading to memory corruption and termination of the scanning process. This could impact systems where ClamAV is deployed to scan untrusted Portable Executable content.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.