Skip to main content
VulnerabilityPublished Updated

CVE-2024-4418: A race condition leading to a stack use-after-free flaw was found in libvirt

Affects libvirtSource GCVE Database

0
Compare
Authoritative record:CVE-2024-4418· Medium 6.2

Not known to be exploited · CVSS 6.2 Medium : upgrade to 10.0.0-2ubuntu8.2 when convenient.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
6.2Medium
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.16.2
EPSS
0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 10.0.0-2ubuntu8.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 May 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 24 Nov 2026.

What to do

Upgrade the Ubuntu libvirt package to 10.0.0-2ubuntu8.2.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=nobleOther threatsAffected
  • <10.0.0-2ubuntu8.2
Fixed in
  • 10.0.0-2ubuntu8.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

A race condition leading to a stack use-after-free flaw was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the `data` pointer to a stack-allocated virNetClientIOEventData structure ended up being used in the virNetClientIOEventFD callback while the data pointer's stack frame was concurrently being "freed" when returning from virNetClientIOEventLoop(). The 'virtproxyd' daemon can be used to trigger requests. If libvirt is configured with fine-grained access control, this issue, in theory, allows a user to escape their otherwise limited access. This flaw allows a local, unprivileged user to access virtproxyd without authenticating. Remote users would need to authenticate before they could access it.

References

Community reviews

Loading reviews…