---
id: CVE-2024-2496
title: 'Libvirt: null pointer dereference in udevconnectlistallinterfaces()'
summary: >-
  A NULL pointer dereference flaw was found in the
  udevConnectListAllInterfaces() function in libvirt. This issue can occur when
  detaching a host interface while at the same time collecting the list of
  interfaces via virConnectListAllInter…
severity: medium
cvss: 5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-476
vendor: Red Hat
product: libvirt
affected:
  - libvirt >= 9.0.0 < 9.7.0
  - libvirt (all versions)
  - libvirt
  - libvirt
  - 'virt:rhel/libvirt (all versions)'
  - 'virt:av/libvirt (all versions)'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-04-25T19:25:01.630462Z'
published: '2024-03-18'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T07:07:40.334Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-2496'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:2236'
    label: 'RHSA-2024:2236'
  - url: 'https://access.redhat.com/security/cve/CVE-2024-2496'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2269672'
    label: RHBZ#2269672
tags:
  - cve.org
epss: 0.00253
epssPercentile: 0.16838
ingestedAt: '2026-11-05T21:36:00.833Z'
---

## Overview

A NULL pointer dereference flaw was found in the udevConnectListAllInterfaces() function in libvirt. This issue can occur when detaching a host interface while at the same time collecting the list of interfaces via virConnectListAllInterfaces API. This flaw could be used to perform a denial of service attack by causing the libvirt daemon to crash.

## Affected

- `libvirt >= 9.0.0 < 9.7.0`
- `libvirt (all versions)`
- `libvirt`
- `libvirt`
- `virt:rhel/libvirt (all versions)`
- `virt:av/libvirt (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
