Security Resilience

CVE-2023-20052

XXE in Clamav ≤ 0.103.7

Published
01 March 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.069 94th percentile
Risk Priority 53 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-20052 is a medium-severity Improper Restriction of XML External Entity Reference (CWE-611) vulnerability in Clamav Clamav. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data Obfuscation (T1001); ranked in the top 6% 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-20052 is an XML external entity injection vulnerability in the DMG file parser of the ClamAV scanning library, affecting versions 1.0.0 and earlier, 0.105.1 and earlier, and 0.103.7 and earlier. The flaw stems from enabling XML entity substitution, which can be triggered during file scanning and is tracked under CWE-611 and CWE-776.

An unauthenticated remote attacker can exploit the issue by submitting a crafted DMG file for scanning on an affected device. Successful exploitation allows the attacker to leak bytes from any file readable by the ClamAV scanning process, resulting in limited information disclosure with a CVSS 3.1 score of 5.3.

The referenced Cisco Security Advisory at sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-clamav-xxe-TcSZduhN details the vulnerability and associated remediation steps for affected ClamAV deployments.

EPSS for this CVE rose from a low baseline to a peak of 0.1026 on 2025-12-18 before receding to the current value of 0.0355, indicating that exploitation interest emerged after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was disclosed: A vulnerability in the DMG 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 attacker…

more

to access sensitive information on an affected device. This vulnerability is due to enabling XML entity substitution that may result in XML external entity injection. An attacker could exploit this vulnerability by submitting a crafted DMG file to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to leak bytes from any file that may be read by the ClamAV scanning process.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001 Data Obfuscation Command And Control
Adversaries may obfuscate command and control traffic to make it more difficult to detect.
T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
T1003.001 LSASS Memory Credential Access
Adversaries may attempt to access credential material stored in the process memory of the Local Security Authority Subsystem Service (LSASS).
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.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-20032Same product: Cisco Secure Endpoint
CVE-2025-20234Same product: Cisco Secure Endpoint
CVE-2025-20128Same product: Cisco Secure Endpoint
CVE-2026-20216Same product: Cisco Secure Endpoint
CVE-2025-20369Shared CWE-611, CWE-776
CVE-2026-20213Same product: Cisco Secure Endpoint
CVE-2026-20215Same product: Cisco Secure Endpoint
CVE-2026-20244Same product: Cisco Secure Endpoint
CVE-2023-38490Shared CWE-611, CWE-776
CVE-2026-20243Same product: Cisco Secure Endpoint

Affected Assets

cisco
secure endpoint
≤ 1.20.2 · ≤ 1.21.1 · ≤ 7.5.9
cisco
secure endpoint private cloud
≤ 3.6.0
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)
  • V1.5.1
  • V15.3.2

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-611

Penetration testing includes XML external entity payloads, detecting XXE vulnerabilities and enabling their mitigation.

addresses: CWE-611

Identifies XML external entity processing via monitoring of unusual file/network access or resource usage.

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 scanning can discover XXE flaws but does not prevent their introduction in code.

PR.PS-01 partial match
blocks

Hardened XML parser configurations directly disable external entity resolution.

PR.PS-02 partial match
blocks

Patching eliminates XXE-vulnerable parser versions but is only one aspect of software maintenance.

PR.PS-06 partial match
blocks

Secure SDLC practices include input validation and safe XML parser configuration that prevent XXE.

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

References