cve.bz

CVE-2022-20792 clamav clamav: Out-of-bounds Write

7.8 highEPSS 0.6%

High (7.8) in clamav clamav. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-11-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-20792 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-20792?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-20792?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-20792 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Cisco Clam AntiVirus (ClamAV)through 0.104.2
Cisco Clam AntiVirus (ClamAV)from 0.104.0 before unspecified
Cisco Clam AntiVirus (ClamAV)through 0.103.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9clamav0.103.6+dfsg-0+deb9u1DLA-3042-1
Debian12, 13, 14clamav0.103.6+dfsg-1DEBIAN-CVE-2022-20792
Ubuntu18.04:LTSclamav0.103.6+dfsg-0ubuntu0.18.04.1UBUNTU-CVE-2022-20792 USN-5423-1
Ubuntu20.04:LTSclamav0.103.6+dfsg-0ubuntu0.20.04.1UBUNTU-CVE-2022-20792 USN-5423-1
Ubuntu22.04:LTSclamav0.103.6+dfsg-0ubuntu0.22.04.1UBUNTU-CVE-2022-20792 USN-5423-1
UbuntuPro:14.04:LTSclamav0.103.6+dfsg-0ubuntu0.14.04.1+esm1UBUNTU-CVE-2022-20792 USN-5423-2
UbuntuPro:16.04:LTSclamav0.103.6+dfsg-0ubuntu0.16.04.1+esm1UBUNTU-CVE-2022-20792 USN-5423-2
SUSELinux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Basesystem 15 SP4clamav0.103.6-150000.3.38.1SUSE-SU-2022:1644-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5clamav0.103.6-3.18.1SUSE-SU-2022:1647-1
openSUSELeap 15.3, Leap 15.4clamav0.103.6-150000.3.38.1SUSE-SU-2022:1644-1
openSUSETumbleweedclamav0.103.6-1.1openSUSE-SU-2024:12047-1
Alpinev3.12, v3.13clamav0.103.6-r0ALPINE-CVE-2022-20792

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON