Moderate: libvirt security and bug fix update

libvirt Updated 02 Oct 2025

Summary

30/04/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:2560: Moderate: libvirt security and bug fix update. Affects libvirt versions < 10.0.0-6.2.el9_4.alma.1. Fixed in 10.0.0-6.2.el9_4.alma.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The libvirt library is a C API for managing and interacting with virtualization capabilities on Linux and other operating systems. It also provides tools for remote management of virtualized systems.

Vulnerability Detail

This update addresses two security vulnerabilities in libvirt:

  1. CVE-2024-1441: An off-by-one error in the udevListInterfacesByStatus() function could lead to a buffer overflow, potentially allowing an attacker to execute arbitrary code or crash the application.

  2. CVE-2024-2494: A negative length value in the g_new0 function could result in unbounded memory allocation, leading to a denial of service or potential code execution.

How To Fix

Minimum fixed version

10.0.0-6.2.el9_4.alma.1

This is the first release that contains the fix.

sudo dnf update libvirt

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

This update addresses two security vulnerabilities in the libvirt library. It is recommended to update the libvirt package to version 10.0.0-6.2.el9_4.alma.1 or later to mitigate the risks associated with these vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libvirt →

Share this vulnerability

FAQ

Libvirt is a C API for managing virtualization capabilities on Linux and other operating systems. It provides tools for remote management of virtualized systems.

CVE-2024-1441 is an off-by-one error in the udevListInterfacesByStatus() function of libvirt. It could allow an attacker to execute arbitrary code or crash the application.

CVE-2024-2494 is a vulnerability in libvirt that could result in unbounded memory allocation due to a negative length value in the g_new0 function. This could lead to a denial of service or potential code execution.

To fix these vulnerabilities, update the libvirt package to version 10.0.0-6.2.el9_4.alma.1 or later.

There is no specific workaround mentioned for these vulnerabilities. It is recommended to update the libvirt package to the latest version.

Related vulnerabilities

Recent vulnerabilities recorded for libvirt.

How To Fix

Minimum fixed version

10.0.0-6.2.el9_4.alma.1

This is the first release that contains the fix.

sudo dnf update libvirt

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback