CVE-2022-20792
Reported by cisco · Published August 10, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| clamav | Alpine | 0.103.6-r0 |
| clamav | Arch Linux | 0.105.0-1 |
| Clam AntiVirus (ClamAV) | Cisco | unspecified, 0.104.2, 0.103.5 |
| clamav | clamav | 0.104.2, 0.103.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Cisco | Clam AntiVirus (ClamAV) | unspecified, 0.104.0, unspecified |
| Cisco | Clam AntiVirus (ClamAV) | 0.104.0, *, * |
| alpine | clamav | 0 |
| arch | clamav | 0 |
Timeline
- May 12, 2022 CVE Published
- Aug 11, 2022 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 10, 2026 Security Advisory (2 in total, the first dated here)
- Jul 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-20792
vulnetix vdb fixes CVE-2022-20792
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-20792/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- GLSA-202310-01 vendor-advisory