Skip to main content
VulnerabilityPublished Updated

CVE-2024-2496: libvirt · NULL Pointer Dereference

Affects libvirtSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.0 Medium : upgrade to 9.7.0 when convenient.

Data as of 22 Nov 2026, 21:13 UTC

CVSS 3.1 base score
5.0Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.15.0
EPSS
0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.7.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade libvirt to 9.7.0.

Affected software

ProductAffectedFixed in
libvirtAffected
  • >=9.0.0 <9.7.0
Fixed in
  • 9.7.0

AI-suggested

To mitigate CVE-2024-2496, organizations should: 1) Monitor libvirt vendor advisories and apply official patches promptly once released. 2) If patches are unavailable, avoid performing concurrent host interface detachments and interface enumeration operations to prevent triggering the race condition. 3) Restrict local access to systems running libvirt to trusted users only, minimizing the risk of exploitation by unauthorized personnel. 4) Implement monitoring and alerting on libvirt daemon crashes to detect potential exploitation attempts early. 5) Consider deploying application-level sandboxing or containerization to isolate libvirt processes, reducing impact scope. 6) Review and tighten user privilege assignments to limit who can perform interface detach or enumeration operations. 7) Conduct thorough testing of libvirt upgrades in staging environments to ensure stability before production deployment. These targeted steps go beyond generic advice by focusing on operational practices that reduce the likelihood of triggering the flaw and limit its impact.

Description

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.

References

Community reviews

Loading reviews…