Skip to content
Heist/ feed
Back to feed
HighFix available

clamav — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-20792

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.

Products
clamav
Affected versions
Not specified
Fixed versions
0.103.6+dfsg-1
CVEs
CVE-2022-20792
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:40 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-20792

core-osv · Original source

Published 10 Aug 2022, 09:15 UTC

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.

osv:DEBIAN-CVE-2022-20792

clamav

Fixed versions: 0.103.6+dfsg-1

clamav

Fixed versions: 0.103.6+dfsg-1

clamav

Fixed versions: 0.103.6+dfsg-1

Complete source record
{
  "id": "3dae7587bc01d6b0b9bd17cb993a13cff759966300877f13db7b79941ad4134a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-20792",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-20792",
    "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.",
    "evidence": "osv:DEBIAN-CVE-2022-20792",
    "products": [
      {
        "name": {
          "value": "clamav",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.103.6+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "clamav",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.103.6+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "clamav",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.103.6+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-20792",
      "aliases": [
        "DEBIAN-CVE-2022-20792"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.103.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "clamav",
            "purl": "pkg:deb/debian/clamav?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-20792.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.103.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "clamav",
            "purl": "pkg:deb/debian/clamav?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-20792.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.103.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "clamav",
            "purl": "pkg:deb/debian/clamav?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-20792.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:01:24.079302387Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-20792"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-20792"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-20792",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 322942,
  "published_at": "2022-08-10T09:15:08.197+00:00"
}