NULL Pointer Dereference Affecting libvirt-nss package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.24% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS10-LIBVIRTNSS-11388521
  • published3 Aug 2025
  • disclosed29 Aug 2024

Introduced: 29 Aug 2024

CVE-2024-8235  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

There is no fixed version for Centos:10 libvirt-nss.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvirt-nss package and not the libvirt-nss package as distributed by Centos. See How to fix? for Centos:10 relevant fixed versions and status.

A flaw was found in libvirt. A refactor of the code fetching the list of interfaces for multiple APIs introduced a corner case on platforms where allocating 0 bytes of memory results in a NULL pointer. This corner case would lead to a NULL-pointer dereference and subsequent crash of virtinterfaced. This issue could allow clients connecting to the read-only socket to crash the virtinterfaced daemon.

CVSS Base Scores

version 3.1