CVE-2024-2494

Publication date 20 March 2024

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

6.2 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
libvirt 25.04 plucky
Fixed 10.0.0-2ubuntu8.1
24.10 oracular
Fixed 10.0.0-2ubuntu8.1
24.04 LTS noble
Fixed 10.0.0-2ubuntu8.1
23.10 mantic
Fixed 9.6.0-1ubuntu1.1
22.04 LTS jammy
Fixed 8.0.0-1ubuntu7.10
20.04 LTS focal
Fixed 6.0.0-0ubuntu8.19
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty
Needs evaluation

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libvirt

Severity score breakdown

Parameter Value
Base score 6.2 · Medium
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

Other references