CVE-2022-20803 | ClamAV Double-free Vulnerability in the OLE2 File Parser

A vulnerability in the OLE2 file parser of Clam AntiVirus (ClamAV) versions 0.104.0 through 0.104.2 could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device.The vulnerability is due to incorrect use of the realloc function that may result in a double-free. An attacker could exploit this vulnerability by submitting a crafted OLE2 file to be scanned by ClamAV on the affected device. An exploit could allow the attacker to cause the ClamAV scanning process to crash, resulting in a denial of service condition.

Published: 2023-02-17 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-20803 is rated Moderate Risk (63.4/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.70%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-20803

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-07 1.63% 1.70% +0.06%
2 2026-06-05 1.70% 1.63% -0.06%
3 2026-06-04 1.70%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-20803

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.6 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 4.0 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2022-20803

OS Trackers for CVE-2022-20803

vendor priority summary link
alpine high CVE-2022-20803: 1 source package rows (clamav); 2 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 2. https://security.alpinelinux.org/vuln/CVE-2022-20803
debian unimportant CVE-2022-20803 unimportant priority: Debian including 1 source packages (clamav), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-20803
gentoo normal CVE-2022-20803: 1 GLSA(s) (202310-01), 1 atom(s) (app-antivirus/clamav); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-20803
suse high CVE-2022-20803 severity important: SUSE including 10 source package names (clamav, clamav-devel, …), 97 product×package rows across 30 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 7, … (30 product lines)): Known Not Affected 97. https://www.suse.com/security/cve/CVE-2022-20803/
ubuntu medium CVE-2022-20803 medium priority: Ubuntu including 1 source packages (clamav), 7 status rows across 7 suites (bionic, focal, impish, jammy, trusty, upstream, xenial): not-affected 6, released 1. https://ubuntu.com/security/CVE-2022-20803

Affected software / configurations for CVE-2022-20803

Vendor Product Version Raw CPE
clamav clamav >= 0.104.0, < 0.104.3 cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*

References for CVE-2022-20803

cvelogic Threat Intelligence