CVE-2022-20792

HIGH

ClamAV <0.104.2 - Code Execution

Title source: llm
STIX 2.1

Description

A vulnerability in the regex module used by the signature database load module of Clam AntiVirus (ClamAV) versions 0.104.0 through 0.104.2 and LTS version 0.103.5 and prior versions could allow an authenticated, local attacker to crash ClamAV at database load time, and possibly gain code execution. The vulnerability is due to improper bounds checking that may result in a multi-byte heap buffer overwflow write. An attacker could exploit this vulnerability by placing a crafted CDB ClamAV signature database file in the ClamAV database directory. An exploit could allow the attacker to run code as the clamav user.

References (2)

Core 2
Core References
Release Notes, Vendor Advisory vendor-advisory
https://blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202310-01

Scores

CVSS v3 7.8
EPSS 0.0014
EPSS Percentile 33.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-125 CWE-787
Status published
Products (1)
clamav/clamav < 0.103.5
Published Aug 10, 2022
Tracked Since Feb 18, 2026