{"schemaVersion":3,"id":"CVE-2022-20792","aliases":["ALPINE-CVE-2022-20792","UBUNTU-CVE-2022-20792","DEBIAN-CVE-2022-20792"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-08-10T08:25:09.605Z","modified":"2024-11-01T18:54:40.711Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00573,"percentile":0.46258,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.03800000000000001,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00535},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00566,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00566,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00573,"percentile":0.46258}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00566,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00566,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00573,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00573,"percentile":0.46258}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"clamav","name":"clamav","label":"clamav","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/clamav","purlType":"apk","versions":[{"text":"≥ 0.104.0, < 0.103.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.104.0, < 0.103.6-r0","eol":null,"hubHref":null},{"vendor":"cisco","product":"clam antivirus (clamav)","name":"Clam AntiVirus (ClamAV)","label":"clam antivirus (clamav)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ 0.104.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.104.0, < unspecified","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, ≤ 0.103.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ 0.104.2 | ≥ 0.104.0, < unspecified | ≥ unspecified, ≤ 0.103.5","eol":null,"hubHref":"/vendor/cisco/clam_antivirus_clamav"},{"vendor":"clamav","product":"clamav","name":"clamav","label":"clamav","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.103.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.104.0, ≤ 0.104.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.103.5 | ≥ 0.104.0, ≤ 0.104.2","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"clamav","label":"ClamAV","category":"app"}},"hubHref":"/vendor/clamav/clamav"},{"vendor":"debian","product":"clamav","name":"clamav","label":"clamav","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/clamav","purlType":"deb","versions":[{"text":"< 0.103.6+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.103.6+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"clamav","name":"clamav","label":"clamav","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/clamav","purlType":"deb","versions":[{"text":"< 0.103.6+dfsg-0ubuntu0.14.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.103.6+dfsg-0ubuntu0.16.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.103.6+dfsg-0ubuntu0.18.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.103.6+dfsg-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.103.6+dfsg-0ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.103.6+dfsg-0ubuntu0.14.04.1+esm1 | < 0.103.6+dfsg-0ubuntu0.16.04.1+esm1 | < 0.103.6+dfsg-0ubuntu0.18.04.1 | < 0.103.6+dfsg-0ubuntu0.20.04.1 | < 0.103.6+dfsg-0ubuntu0.22.04.1","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html","label":"blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html","hostname":"blog.clamav.net","tags":["Vendor Advisory","REPORT","Release Notes"]},{"url":"https://security.gentoo.org/glsa/202310-01","label":"security.gentoo.org/glsa/202310-01","hostname":"security.gentoo.org","tags":["Vendor Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-20792","label":"security.alpinelinux.org/vuln/CVE-2022-20792","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-20792","label":"ubuntu.com/security/CVE-2022-20792","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5423-1","label":"ubuntu.com/security/notices/USN-5423-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5423-2","label":"ubuntu.com/security/notices/USN-5423-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-20792","label":"www.cve.org/CVERecord?id=CVE-2022-20792","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-20792","label":"security-tracker.debian.org/tracker/CVE-2022-20792","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3042-1","MGASA-2022-0187","OPENSUSE-SU-2024:12047-1","SUSE-SU-2022:1644-1","SUSE-SU-2022:1647-1","USN-5423-1","USN-5423-2"],"duplicates":[],"related":["OPENSUSE-SU-2024:12047-1","SUSE-SU-2022:1644-1","SUSE-SU-2022:1647-1","USN-5423-1","USN-5423-2"]},"timeline":[{"kind":"published","date":"2022-08-10T08:25:09.605Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-01T18:54:40.711Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T20:59:56.578Z","stale":false,"partial":false}}