{"vuln_id":"CVE-2024-2494","aliases":[],"description":"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.","published_at":"2024-03-21T14:15:10.350000Z","modified_at":"2026-11-25T22:17:15.900000Z","first_seen_at":"2026-11-25T22:36:24.008033Z","severity":"medium","severity_source":"nvd","cvss_score":6.2,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-789"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00351,"epss_percentile":0.21154,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-2494"},"matched_alias":null,"items":[{"id":23313,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2024-2494: 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 pe…","summary":"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.\n\nReferences:\nhttps://access.redhat.com/errata/RHBA-2024:3964\nhttps://access.redhat.com/errata/RHSA-2024:2560\nhttps://access.redhat.com/errata/RHSA-2024:3253\nhttps://access.redhat.com/security/cve/CVE-2024-2494\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2270115\nhttps://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/BKRQXPLPC6B7FLHJXSBQYW7HNDEBW6RJ/\nhttps://access.redhat.com/errata/RHSA-2024:2560\nhttps://access.redhat.com/errata/RHSA-2024:3253\nhttps://access.redhat.com/security/cve/CVE-2024-2494\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2270115","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2494","published_at":"2024-03-21T14:15:10.350000Z","updated_at":"2026-11-25T22:17:15.900000Z","fetched_at":"2026-11-25T22:36:23.971390Z","severity":"medium","cvss_score":6.2,"epss":0.00351,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2024-2494","vuln_ids":["CVE-2024-2494","RHSA-2024:2560","RHSA-2024:3253"],"tags":["CWE-789"],"cluster_id":19060,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/23313","html":"https://vulnwatch.ve1ve2.com/item/23313"}}]}