CVE-2024-2494
Publication date 20 March 2024
Last updated 19 August 2025
Ubuntu priority
Cvss 3 Severity Score
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 | 25.10 questing |
Fixed 10.0.0-2ubuntu8.1
|
| 25.04 plucky |
Fixed 10.0.0-2ubuntu8.1
|
|
| 24.04 LTS noble |
Fixed 10.0.0-2ubuntu8.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
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| 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)
- USN-6734-1
- libvirt vulnerabilities
- 15 April 2024
- USN-6734-2
- libvirt vulnerabilities
- 29 April 2024