CVE-2022-20792 json
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…
published 2022-08-10 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-26042
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- clamav Debian 14, Debian 13, Debian 12 0.103.6+dfsg-1
debian advisories DEBIAN-CVE-2022-20792
- clamav Ubuntu 18.04 LTS 0.103.6+dfsg-0ubuntu0.18.04.1
- clamav Ubuntu 20.04 LTS 0.103.6+dfsg-0ubuntu0.20.04.1
- clamav Ubuntu 22.04 LTS 0.103.6+dfsg-0ubuntu0.22.04.1
- clamav Ubuntu Pro 14.04 LTS 0.103.6+dfsg-0ubuntu0.14.04.1+esm1
- clamav Ubuntu Pro 16.04 LTS 0.103.6+dfsg-0ubuntu0.16.04.1+esm1
ubuntu advisories UBUNTU-CVE-2022-20792
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- clamav SLES for SAP 12 SP5, SLES 12 SP5 0.103.6-3.18.1
- clamav SLE Module for Basesystem 15 SP4, SLE Module for Basesystem 15 SP3, openSUSE Leap 15.4 +1 more 0.103.6-150000.3.38.1
suse advisories SUSE-SU-2022:1647-1SUSE-SU-2022:1644-1
- clamav openSUSE Tumbleweed 0.103.6-1.1
opensuse advisories openSUSE-SU-2024:12047-1
- clamav Alpine 3.13, Alpine 3.12 0.103.6-r0
alpine advisories ALPINE-CVE-2022-20792
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- clamav Arch Linux 0.105.0-1
arch linux advisories AVG-2722
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-20792 updated cvss 7.8
ClamAV: Improper bounds checking leading to multi-byte heap buffer overflow write.
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- Cisco Clam AntiVirus (ClamAV)
Classification
References
-
blog.clamav.net
/2022/05/clamav-01050-01043-01036-released.html
vendor-advisory, release-notes
-
security.gentoo.org
/glsa/202310-01
vendor-advisory
Sources
- CVE List CVE-2022-20792
- NVD CVE-2022-20792
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.