# CVE-2022-20792: clamav: A vulnerability in the regex module used by the signature database load module of Clam AntiVirus (ClamAV) versions 0....

CVE-2022-20792 is fixed in 9 products on 1 platform, first by clamav 0.103.6+dfsg-0ubuntu0.18.04.1, released May 6, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-20792
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0057
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 6, 2022

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | clamav Debian 12.15 (bookworm) | 0.103.6+dfsg-1 | [DEBIAN-CVE-2022-20792](https://patchblox.com/security/data/fix/linux/debian-cve-2022-20792.md) | Aug 10, 2022 |
| Linux | clamav Debian 13.5 (trixie) | 0.103.6+dfsg-1 | [DEBIAN-CVE-2022-20792](https://patchblox.com/security/data/fix/linux/debian-cve-2022-20792.md) | Aug 10, 2022 |
| Linux | clamav Debian 14 | 0.103.6+dfsg-1 | [DEBIAN-CVE-2022-20792](https://patchblox.com/security/data/fix/linux/debian-cve-2022-20792.md) | Aug 10, 2022 |
| Linux | clamav Ubuntu 18.04.6 LTS (bionic) | 0.103.6+dfsg-0ubuntu0.18.04.1 | [clamav 0.103.6+dfsg-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-clamav-0.103.6-dfsg-0ubuntu0.18.04.1.md) | May 6, 2022 |
| Linux | clamav Ubuntu 20.04 LTS (focal) | 0.103.6+dfsg-0ubuntu0.20.04.1 | [clamav 0.103.6+dfsg-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-clamav-0.103.6-dfsg-0ubuntu0.20.04.1.md) | May 6, 2022 |
| Linux | clamav Ubuntu 22.04.1 LTS (jammy) | 0.103.6+dfsg-0ubuntu0.22.04.1 | [clamav 0.103.6+dfsg-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-clamav-0.103.6-dfsg-0ubuntu0.22.04.1.md) | May 6, 2022 |
| Linux | clamav-base Ubuntu 18.04.6 LTS (bionic) | 0.103.6+dfsg-0ubuntu0.18.04.1 | [clamav-base 0.103.6+dfsg-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-clamav-base-0.103.6-dfsg-0ubuntu0.18.04.1.md) | May 6, 2022 |
| Linux | clamav-base Ubuntu 20.04 LTS (focal) | 0.103.6+dfsg-0ubuntu0.20.04.1 | [clamav-base 0.103.6+dfsg-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-clamav-base-0.103.6-dfsg-0ubuntu0.20.04.1.md) | May 6, 2022 |
| Linux | clamav-base Ubuntu 22.04.1 LTS (jammy) | 0.103.6+dfsg-0ubuntu0.22.04.1 | [clamav-base 0.103.6+dfsg-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-clamav-base-0.103.6-dfsg-0ubuntu0.22.04.1.md) | May 6, 2022 |
| Linux | clamav-daemon Ubuntu 18.04.6 LTS (bionic) | 0.103.6+dfsg-0ubuntu0.18.04.1 | [clamav-daemon 0.103.6+dfsg-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-clamav-daemon-0.103.6-dfsg-0ubuntu0.18.04.1.md) | May 6, 2022 |
| Linux | clamav-daemon Ubuntu 20.04 LTS (focal) | 0.103.6+dfsg-0ubuntu0.20.04.1 | [clamav-daemon 0.103.6+dfsg-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-clamav-daemon-0.103.6-dfsg-0ubuntu0.20.04.1.md) | May 6, 2022 |
| Linux | clamav-daemon Ubuntu 22.04.1 LTS (jammy) | 0.103.6+dfsg-0ubuntu0.22.04.1 | [clamav-daemon 0.103.6+dfsg-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-clamav-daemon-0.103.6-dfsg-0ubuntu0.22.04.1.md) | May 6, 2022 |
| Linux | clamav-docs Ubuntu 18.04.6 LTS (bionic) | 0.103.6+dfsg-0ubuntu0.18.04.1 | [clamav-docs 0.103.6+dfsg-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-clamav-docs-0.103.6-dfsg-0ubuntu0.18.04.1.md) | May 6, 2022 |
| Linux | clamav-docs Ubuntu 20.04 LTS (focal) | 0.103.6+dfsg-0ubuntu0.20.04.1 | [clamav-docs 0.103.6+dfsg-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-clamav-docs-0.103.6-dfsg-0ubuntu0.20.04.1.md) | May 6, 2022 |
| Linux | clamav-docs Ubuntu 22.04.1 LTS (jammy) | 0.103.6+dfsg-0ubuntu0.22.04.1 | [clamav-docs 0.103.6+dfsg-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-clamav-docs-0.103.6-dfsg-0ubuntu0.22.04.1.md) | May 6, 2022 |
| Linux | clamav-freshclam Ubuntu 18.04.6 LTS (bionic) | 0.103.6+dfsg-0ubuntu0.18.04.1 | [clamav-freshclam 0.103.6+dfsg-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-clamav-freshclam-0.103.6-dfsg-0ubuntu0.18.04.1.md) | May 6, 2022 |
| Linux | clamav-freshclam Ubuntu 20.04 LTS (focal) | 0.103.6+dfsg-0ubuntu0.20.04.1 | [clamav-freshclam 0.103.6+dfsg-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-clamav-freshclam-0.103.6-dfsg-0ubuntu0.20.04.1.md) | May 6, 2022 |
| Linux | clamav-freshclam Ubuntu 22.04.1 LTS (jammy) | 0.103.6+dfsg-0ubuntu0.22.04.1 | [clamav-freshclam 0.103.6+dfsg-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-clamav-freshclam-0.103.6-dfsg-0ubuntu0.22.04.1.md) | May 6, 2022 |
| Linux | clamav-milter Ubuntu 18.04.6 LTS (bionic) | 0.103.6+dfsg-0ubuntu0.18.04.1 | [clamav-milter 0.103.6+dfsg-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-clamav-milter-0.103.6-dfsg-0ubuntu0.18.04.1.md) | May 6, 2022 |
| Linux | clamav-milter Ubuntu 20.04 LTS (focal) | 0.103.6+dfsg-0ubuntu0.20.04.1 | [clamav-milter 0.103.6+dfsg-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-clamav-milter-0.103.6-dfsg-0ubuntu0.20.04.1.md) | May 6, 2022 |
| Linux | clamav-milter Ubuntu 22.04.1 LTS (jammy) | 0.103.6+dfsg-0ubuntu0.22.04.1 | [clamav-milter 0.103.6+dfsg-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-clamav-milter-0.103.6-dfsg-0ubuntu0.22.04.1.md) | May 6, 2022 |
| Linux | clamav-testfiles Ubuntu 18.04.6 LTS (bionic) | 0.103.6+dfsg-0ubuntu0.18.04.1 | [clamav-testfiles 0.103.6+dfsg-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-clamav-testfiles-0.103.6-dfsg-0ubuntu0.18.04.1.md) | May 6, 2022 |
| Linux | clamav-testfiles Ubuntu 20.04 LTS (focal) | 0.103.6+dfsg-0ubuntu0.20.04.1 | [clamav-testfiles 0.103.6+dfsg-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-clamav-testfiles-0.103.6-dfsg-0ubuntu0.20.04.1.md) | May 6, 2022 |
| Linux | clamav-testfiles Ubuntu 22.04.1 LTS (jammy) | 0.103.6+dfsg-0ubuntu0.22.04.1 | [clamav-testfiles 0.103.6+dfsg-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-clamav-testfiles-0.103.6-dfsg-0ubuntu0.22.04.1.md) | May 6, 2022 |
| Linux | clamdscan Ubuntu 18.04.6 LTS (bionic) | 0.103.6+dfsg-0ubuntu0.18.04.1 | [clamdscan 0.103.6+dfsg-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-clamdscan-0.103.6-dfsg-0ubuntu0.18.04.1.md) | May 6, 2022 |
| Linux | clamdscan Ubuntu 20.04 LTS (focal) | 0.103.6+dfsg-0ubuntu0.20.04.1 | [clamdscan 0.103.6+dfsg-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-clamdscan-0.103.6-dfsg-0ubuntu0.20.04.1.md) | May 6, 2022 |
| Linux | clamdscan Ubuntu 22.04.1 LTS (jammy) | 0.103.6+dfsg-0ubuntu0.22.04.1 | [clamdscan 0.103.6+dfsg-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-clamdscan-0.103.6-dfsg-0ubuntu0.22.04.1.md) | May 6, 2022 |
| Linux | libclamav9 Ubuntu 18.04.6 LTS (bionic) | 0.103.6+dfsg-0ubuntu0.18.04.1 | [libclamav9 0.103.6+dfsg-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libclamav9-0.103.6-dfsg-0ubuntu0.18.04.1.md) | May 6, 2022 |
| Linux | libclamav9 Ubuntu 20.04 LTS (focal) | 0.103.6+dfsg-0ubuntu0.20.04.1 | [libclamav9 0.103.6+dfsg-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libclamav9-0.103.6-dfsg-0ubuntu0.20.04.1.md) | May 6, 2022 |
| Linux | libclamav9 Ubuntu 22.04.1 LTS (jammy) | 0.103.6+dfsg-0ubuntu0.22.04.1 | [libclamav9 0.103.6+dfsg-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libclamav9-0.103.6-dfsg-0ubuntu0.22.04.1.md) | May 6, 2022 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
