CVE-2024-4418
CWE-562Published: May 8, 2024· Updated: Jun 17, 2026
Official Description
A race condition leading to a stack use-after-free flaw was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the `data` pointer to a stack-allocated virNetClientIOEventData structure ended up being used in the virNetClientIOEventFD callback while the data pointer's stack frame was concurrently being "freed" when returning from virNetClientIOEventLoop(). The 'virtproxyd' daemon can be used to trigger requests. If libvirt is configured with fine-grained access control, this issue, in theory, allows a user to escape their otherwise limited access. This flaw allows a local, unprivileged user to access virtproxyd without authenticating. Remote users would need to authenticate before they could access it.
Technical Analysis
CVE-2024-4418 requires local access, meaning attackers must already have a foothold on the target system.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in availability disruption (denial of service), with a CVSS base score of 6.2.
CVSS v3.1 Vector Breakdown
Exploit & PoC Resources
All References (13)
Quick Facts
Related CVEs (CWE-562)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-4418 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts