CVE-2024-2494

Publication date 20 March 2024

Last updated 20 August 2026


Ubuntu priority

Cvss 3 Severity Score

6.2 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
libvirt 26.04 LTS resolute
Fixed 10.0.0-2ubuntu8.1
25.10 questing
Fixed 10.0.0-2ubuntu8.1
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
Fixed 4.0.0-1ubuntu8.21+esm1
16.04 LTS xenial
Fixed 1.3.1-1ubuntu10.31+esm1
14.04 LTS trusty
Fixed 1.2.2-0ubuntu13.1.28+esm2

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

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

CVSS version: CVSS v3.0

Base score 6.2 · Medium

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


Access our resources on patching vulnerabilities