{"id":"AZL-38665","summary":"CVE-2024-2494 affecting package libvirt for versions less than 10.0.0-4","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-01T05:23:48.063380Z","published":"2024-03-21T14:15:10Z","upstream":["CVE-2024-2494"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2494"}],"affected":[{"package":{"name":"libvirt","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/libvirt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.0.0-4"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-38665.json"}}],"schema_version":"1.7.5"}