CVE-2022-20792: High severity clamav clamav vulnerability

Published Aug 10, 2022
·
Updated

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.

Affected Software

8 affected componentsFixes available
clamav clamav<=0.103.5
clamav clamav>=0.104.0<=0.104.2
debian/clamav<0.103.6+dfsg-1
0.103.6+dfsg-1
debian/clamav<0.103.6+dfsg-1
0.103.6+dfsg-1
debian/clamav<0.103.6+dfsg-1
0.103.6+dfsg-1
debian/clamav
1.4.3+dfsg-1~deb12u21.4.6+dfsg-0+deb12u11.4.3+dfsg-11.4.6+dfsg-1
alpine/clamav>=0.104.0<0.103.6-r0
0.103.6-r0
alpine/clamav>=0.104.0<0.103.6-r0
0.103.6-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/clamav to a version that resolves this vulnerability.

    Fixed in 1.4.3+dfsg-1~deb12u2Fixed in 1.4.6+dfsg-0+deb12u1Fixed in 1.4.3+dfsg-1Fixed in 1.4.6+dfsg-1
  2. Upgrade

    Upgrade alpine/clamav to a version that resolves this vulnerability.

    Fixed in 0.103.6-r0
  3. Upgrade

    Upgrade debian/clamav to a version that resolves this vulnerability.

    Fixed in 0.103.6+dfsg-1

Event History

Aug 10, 2022
CVE Published
via MITRE·08:25 AM
Data Sourced
via MITRE·08:25 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·09:15 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-20792?

CVE-2022-20792 is 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.

2

How does CVE-2022-20792 affect Clam AntiVirus?

CVE-2022-20792 could allow an authenticated, local attacker to crash ClamAV at database load time, and possibly gain code execution.

3

What is the severity of CVE-2022-20792?

CVE-2022-20792 has a severity rating of 7.8 (high).

4

How do I fix CVE-2022-20792?

To fix CVE-2022-20792, users should update to ClamAV versions 0.104.3 or later, or LTS version 0.103.6 or later.

5

Where can I find more information about CVE-2022-20792?

More information about CVE-2022-20792 can be found on the ClamAV blog and the Gentoo Security website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203