CVE-2023-2700
libvirt: Memory leak in virPCIVirtualFunctionList cleanup
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 15, 2023
Updated · August 6, 2026
Description
A vulnerability was found in libvirt. This security flaw occurs due to repeatedly querying an SR-IOV PCI device's capabilities that exposes a memory leak caused by a failure to free the virPCIVirtualFunction array within the parent struct's g_autoptr cleanup.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE-401 · Missing Release of Memory after Effective Lifetime