Security Resilience

CVE-2023-20032

Memory Safety in Clamav ≤ 0.103.7

Published
01 March 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.29 98th percentile
Risk Priority 86 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-20032 is a critical-severity Classic Buffer Overflow (CWE-120) vulnerability in Clamav Clamav. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Security Account Manager (T1003.002); ranked in the top 2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2023-20032 is a heap buffer overflow vulnerability in the HFS+ partition file parser within the ClamAV scanning library, caused by a missing buffer size check. It affects ClamAV versions 1.0.0 and earlier, 0.105.1 and earlier, and 0.103.7 and earlier, and carries a CVSS 3.1 score of 9.8 with associated CWEs 120 and 787.

An unauthenticated remote attacker can exploit the flaw by submitting a specially crafted HFS+ partition file for scanning on an affected system. Successful exploitation grants arbitrary code execution with the privileges of the ClamAV process or triggers a denial-of-service condition by crashing the scanner.

The referenced Cisco Security Advisory describes the vulnerability and directs users to the ClamAV blog for further details on affected releases and remediation steps.

EPSS for this CVE rose from lower values to a peak of 0.1032, indicating increased exploitation interest after public disclosure before receding to the current score of 0.0712.

EU & UK References

Vulnerability Data

On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was disclosed: A vulnerability in the HFS+ partition file parser of ClamAV versions 1.0.0 and earlier, 0.105.1 and earlier, and 0.103.7 and earlier could allow an unauthenticated, remote…

more

attacker to execute arbitrary code. This vulnerability is due to a missing buffer size check that may result in a heap buffer overflow write. An attacker could exploit this vulnerability by submitting a crafted HFS+ partition file to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to execute arbitrary code with the privileges of the ClamAV scanning process, or else crash the process, resulting in a denial of service (DoS) condition. For a description of this vulnerability, see the ClamAV blog ["https://blog.clamav.net/"].

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1003.002 Security Account Manager Credential Access
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored.
T1003.003 NTDS Credential Access
Adversaries may attempt to access or create a copy of the Active Directory domain database in order to steal credential information, as well as obtain other information about domain members such as devices, users, and access rights.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1003.006 DCSync Credential Access
Adversaries may attempt to access credentials and other sensitive information by abusing a Windows Domain Controller's application programming interface (API)(Citation: Microsoft DRSR Dec 2017) (Citation: Microsoft GetNCCChanges) (Citati…
T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1006 Direct Volume Access Stealth
Adversaries may directly access a volume to bypass file access controls and file system monitoring.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-20244Same product: Cisco Secure Endpoint
CVE-2026-20217Same product: Cisco Secure Endpoint
CVE-2026-20215Same product: Cisco Secure Endpoint
CVE-2026-20243Same product: Cisco Secure Endpoint
CVE-2026-20214Same product: Cisco Secure Endpoint
CVE-2026-20213Same product: Cisco Secure Endpoint
CVE-2023-28506Shared CWE-120, CWE-787
CVE-2024-33052Shared CWE-120, CWE-787
CVE-2023-31998Shared CWE-120, CWE-787
CVE-2024-43700Shared CWE-120, CWE-787

Affected Assets

cisco
secure endpoint
≤ 1.20.2 · ≤ 1.21.1 · ≤ 7.5.9
cisco
secure endpoint private cloud
≤ 3.6.0
cisco
web security appliance
≤ 12.5.6 · 14.0.0 — 14.0.4-005 · 14.5.0 — 14.5.1-013
clamav
clamav
1.0.0 · ≤ 0.103.7 · 0.104.0 — 0.105.1
stormshield
stormshield network security
3.0.0 — 3.7.35 · 3.8.0 — 3.11.23 · 4.3.0 — 4.3.17

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.2.1

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-120

Platform-independent managed code eliminates the need for unchecked native buffer copies that are the root cause of classic buffer overflows.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

ID.RA-01 partial match
blocks

Vulnerability identification processes such as code review or scanning detect classic buffer overflows before exploitation.

PR.PS-02 partial match
blocks

Routine patching replaces vulnerable code containing unchecked buffer copies with corrected versions.

PR.PS-06 partial match
blocks

Secure development practices directly enforce bounds checking and input validation that prevent classic buffer overflows.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

References