{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-4418 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-4418 is a medium-severity use after free vulnerability in Red Hat Enterprise Linux 6, published on 8 May 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-4418 and fix it if it is affected.\n\nWhat it is: CVE-2024-4418 is a medium-severity use after free vulnerability in Red Hat Enterprise Linux 6, published on 8 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-4418 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 6. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-4418/ (Markdown: https://insights.sbomify.com/CVE-2024-4418/index.md)","id":"CVE-2024-4418","markdown":"https://insights.sbomify.com/CVE-2024-4418/index.md","name":"CVE-2024-4418","record":{"aliases":["ALSA-2024:4351","ALSA-2024:4757","AZL-40396","AZL-40447","BELL-CVE-2024-4418","DEBIAN-CVE-2024-4418","GHSA-q262-3hfr-f5q4","OESA-2024-1683","OESA-2024-1743","RHSA-2024:4351","RHSA-2024:4432","RHSA-2024:4757","RLSA-2024:4351","SUSE-SU-2024:1962-1","SUSE-SU-2025:20012-1","UBUNTU-CVE-2024-4418","USN-6763-1","openSUSE-SU-2024:13948-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Libvirt virtualization","requires_auth":"none","summary":"A race condition in libvirt allows local unprivileged users to bypass authentication and access virtproxyd, potentially escalating privileges if fine-grained access control is enabled.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-562","name":"Return of Stack Variable Address"}],"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::crb","Rocky Linux:8","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Server Applications 15 SP6","SUSE:Linux Micro 6.0","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Libvirt: stack use-after-free in virnetclientioeventloop()","id":"CVE-2024-4418","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2024"},"n_packages":672,"n_references":5,"next":{"headline":"Fetch JFT \u003c= 1.8.3 - Authenticated (Administrator+) Stored Cross-Site Scripting","id":"CVE-2024-4419"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["20210217-2.module_el8.10.0+3768+dfd76e10"],"introduced":["0"],"last_affected":[],"package":"SLOF","purl":"pkg:rpm/almalinux/SLOF","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.18-23.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"hivex","purl":"pkg:rpm/almalinux/hivex","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.18-23.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"hivex","purl":"pkg:rpm/almalinux/hivex","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.18-23.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"hivex-devel","purl":"pkg:rpm/almalinux/hivex-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.18-23.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"hivex-devel","purl":"pkg:rpm/almalinux/hivex-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs","purl":"pkg:rpm/almalinux/libguestfs","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-appliance","purl":"pkg:rpm/almalinux/libguestfs-appliance","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-bash-completion","purl":"pkg:rpm/almalinux/libguestfs-bash-completion","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-devel","purl":"pkg:rpm/almalinux/libguestfs-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gfs2","purl":"pkg:rpm/almalinux/libguestfs-gfs2","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject","purl":"pkg:rpm/almalinux/libguestfs-gobject","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject-devel","purl":"pkg:rpm/almalinux/libguestfs-gobject-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-inspect-icons","purl":"pkg:rpm/almalinux/libguestfs-inspect-icons","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java","purl":"pkg:rpm/almalinux/libguestfs-java","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java-devel","purl":"pkg:rpm/almalinux/libguestfs-java-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-javadoc","purl":"pkg:rpm/almalinux/libguestfs-javadoc","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-ja","purl":"pkg:rpm/almalinux/libguestfs-man-pages-ja","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-uk","purl":"pkg:rpm/almalinux/libguestfs-man-pages-uk","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rescue","purl":"pkg:rpm/almalinux/libguestfs-rescue","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rsync","purl":"pkg:rpm/almalinux/libguestfs-rsync","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools","purl":"pkg:rpm/almalinux/libguestfs-tools","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools-c","purl":"pkg:rpm/almalinux/libguestfs-tools-c","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["8.10-1.module_el8.10.0+3768+dfd76e10"],"introduced":["0"],"last_affected":[],"package":"libguestfs-winsupport","purl":"pkg:rpm/almalinux/libguestfs-winsupport","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma"],"introduced":["0"],"last_affected":[],"package":"libguestfs-xfs","purl":"pkg:rpm/almalinux/libguestfs-xfs","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"libiscsi","purl":"pkg:rpm/almalinux/libiscsi","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"libiscsi","purl":"pkg:rpm/almalinux/libiscsi","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"libiscsi-devel","purl":"pkg:rpm/almalinux/libiscsi-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"libiscsi-devel","purl":"pkg:rpm/almalinux/libiscsi-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"libiscsi-utils","purl":"pkg:rpm/almalinux/libiscsi-utils","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.18.0-8.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"libiscsi-utils","purl":"pkg:rpm/almalinux/libiscsi-utils","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.6.0-5.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"libnbd","purl":"pkg:rpm/almalinux/libnbd","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.6.0-5.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"libnbd","purl":"pkg:rpm/almalinux/libnbd","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.6.0-5.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"libnbd-bash-completion","purl":"pkg:rpm/almalinux/libnbd-bash-completion","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.6.0-5.module_el8.6.0+2880+7d9e3703"],"introduced":["0"],"last_affected":[],"package":"libnbd-devel","purl":"pkg:rpm/almalinux/libnbd-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["1.6.0-5.module_el8.6.0+3161+a07c0ea5"],"introduced":["0"],"last_affected":[],"package":"libnbd-devel","purl":"pkg:rpm/almalinux/libnbd-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["0.9.1-2.20211126git1ff6fe1f43.module_el8.9.0+3659+9c8643f3"],"introduced":["0"],"last_affected":[],"package":"libtpms","purl":"pkg:rpm/almalinux/libtpms","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["0.9.1-2.20211126git1ff6fe1f43.module_el8.9.0+3659+9c8643f3"],"introduced":["0"],"last_affected":[],"package":"libtpms-devel","purl":"pkg:rpm/almalinux/libtpms-devel","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["8.0.0-23.2.module_el8.10.0+3867+f3f9981a"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/almalinux/libvirt","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["8.0.0-23.2.module_el8.10.0+3867+f3f9981a"],"introduced":["0"],"last_affected":[],"package":"libvirt-client","purl":"pkg:rpm/almalinux/libvirt-client","source":"ALSA-2024:4351"},{"ecosystem":"AlmaLinux:8","fixed":["8.0.0-23.2.module_el8.10.0+3867+f3f9981a"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon","purl":"pkg:rpm/almalinux/libvirt-daemon","source":"ALSA-2024:4351"}],"prev":{"headline":"Falang multilanguage for WordPress \u003c= 1.3.49 - Authenticated (Administrator+) Stored Cross-Site Scripting","id":"CVE-2024-4417"},"products":["Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8 Advanced Virtualization","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.2 Extended Update Support"],"published":"2024-05-08","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["Red Hat"]},"summary":"A race condition in libvirt allows local unprivileged users to bypass authentication and access virtproxyd, potentially escalating privileges if fine-grained access control is enabled.","url":"https://insights.sbomify.com/CVE-2024-4418/"}