# CVE-2024-4418

## Summary

- **CVE ID:** CVE-2024-4418
- **Severity:** MEDIUM
- **CVSS Score:** 6.2 (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
- **CWE:** CWE-562
- **Published:** May 8, 2024
- **Last Modified:** Mar 13, 2026

## 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.

## Affected Products

- Unknown product (0)
- Red Hat — Red Hat Enterprise Linux 8 (8100020240606142719.489197e6)
- Red Hat — Red Hat Enterprise Linux 9 (0:10.0.0-6.6.el9_4)
- Red Hat — Red Hat Enterprise Linux 9.2 Extended Update Support (0:9.0.0-10.7.el9_2)

## References

- [CNA](https://access.redhat.com/errata/RHSA-2024:4351)
- [CNA](https://access.redhat.com/errata/RHSA-2024:4432)
- [CNA](https://access.redhat.com/errata/RHSA-2024:4757)
- [CNA](https://access.redhat.com/security/cve/CVE-2024-4418)
- [CNA](https://bugzilla.redhat.com/show_bug.cgi?id=2278616)
- [CVE](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4IE44UIIC3QWBFRB4EUSFNLJBU6JLNSD/)
- [CVE](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q4ZQBAJVHIZMCZNTRPUW3ZKXRKLXRQZU/)
- [CVE](https://security.netapp.com/advisory/ntap-20250411-0002/)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.48%
- **EPSS Percentile:** 40.0

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-11._