{"id":"CVE-2024-2494","details":"A flaw was found in the RPC library APIs of libvirt. The RPC server deserialization code allocates memory for arrays before the non-negative length check is performed by the C API entry points. Passing a negative length to the g_new0 function results in a crash due to the negative length being treated as a huge positive number. This flaw allows a local, unprivileged user to perform a denial of service attack by causing the libvirt daemon to crash.","modified":"2026-04-16T00:00:36.851959908Z","published":"2024-03-21T14:15:10Z","withdrawn":"2026-01-27T04:20:09.739925Z","related":["ALSA-2024:2560","SUSE-SU-2024:1078-1","SUSE-SU-2024:1083-1","SUSE-SU-2024:1099-1","SUSE-SU-2024:1100-1","openSUSE-SU-2024:13796-1"],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:2560"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:3253"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240517-0009/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2270115"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-2494"},{"type":"WEB","url":"https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/BKRQXPLPC6B7FLHJXSBQYW7HNDEBW6RJ/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/04/msg00000.html"}],"schema_version":"1.7.3"}