CVE-2024-2494: libvirt
Vulnerability summary
CVE-2024-2494 is a medium (CVSS 6.2) vulnerability in libvirt. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 29% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 21-03-2024PublishedVulnerability first disclosed.
- 25-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · Red hatEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
0.00 pp
From 0.37% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat194 products
- hivex< 0:1.3.18-23.module+el8.9.0+18724+20190c23
- hivex-debuginfo< 0:1.3.18-23.module+el8.9.0+18724+20190c23
- hivex-debugsource< 0:1.3.18-23.module+el8.9.0+18724+20190c23
- hivex-devel< 0:1.3.18-23.module+el8.9.0+18724+20190c23
- libguestfs< 1:1.44.0-9.module+el8.9.0+18724+20190c23
Opensuse3 products
- libvirt&distro=openSUSE Leap Micro 5.3< 8.0.0-150400.7.11.2
- libvirt&distro=openSUSE Leap Micro 5.4< 8.0.0-150400.7.11.2
- libvirt&distro=openSUSE Tumbleweed< 10.1.0-2.1
Debian1 product
- libvirt< 9.0.0-4+deb12u1 | < 10.2.0-1
Mageia1 product
- libvirt< 9.6.0-1.1.mga9
Ubuntu1 product
- libvirt< 1.2.2-0ubuntu13.1.28+esm2 | < 1.3.1-1ubuntu10.31+esm1 | < 4.0.0-1ubuntu8.21+esm1 | < 6.0.0-0ubuntu8.19 | < 8.0.0-1ubuntu7.10 | < 10.0.0-2ubuntu8.1
5 vendors · 200 products · Showing 200 of 250. Use Open JSON for the complete list.
References
25 links- security.netapp.com/advisory/ntap-20240517-0009/X Transferred