Skip to main content
VulnerabilityPublished Updated

CVE-2026-77159: libvirt's qemuTPMEmulatorPrepareHost() function · Symlink-following Flaw Was Found

Affects libvirtSource GCVE Database

0
Compare
Authoritative record:CVE-2026-77159· Medium 5.5

Not known to be exploited · CVSS 5.5 Medium · fixed in 8.0.0-1ubuntu7.21 : update libvirt when convenient.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
5.5Medium
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.5
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.0.0-1ubuntu7.21, 10.0.0-2ubuntu8.19, 12.0.0-1ubuntu5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Sep 2026

  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 to 8.0.0-1ubuntu7.21 (libvirt package) or 10.0.0-2ubuntu8.19 (libvirt package) or 12.0.0-1ubuntu5.5 (libvirt package, libvirt-hwe package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=resoluteOther threatsAffected
  • <12.0.0-1ubuntu5.5
Fixed in
  • 12.0.0-1ubuntu5.5
Ubuntu 26.04 LTSlibvirt-hwepkg:deb/ubuntu/libvirt-hwe?arch=source&distro=resoluteOther threatsAffected
  • <12.0.0-1ubuntu5.5
Fixed in
  • 12.0.0-1ubuntu5.5
Ubuntu 24.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=nobleOther threatsAffected
  • <10.0.0-2ubuntu8.19
Fixed in
  • 10.0.0-2ubuntu8.19
Ubuntu 22.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=jammyOther threatsAffected
  • <8.0.0-1ubuntu7.21
Fixed in
  • 8.0.0-1ubuntu7.21
Ubuntu Pro 20.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=esm-infra/focalOther threatsAffected
  • 5.4.0-0ubuntu5 – 6.0.0-0ubuntu8.20+esm1
27 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSlibvirtpkg:deb/ubuntu/libvirt?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 3.6.0-1ubuntu5 – 4.0.0-1ubuntu8.21+esm1
31 affected builds
Fixed in–

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

Description

A symlink-following flaw was found in libvirt's qemuTPMEmulatorPrepareHost() function. The function uses a path-based chown() on the swtpm logfile without checking for symbolic links. A local attacker with access to the swtpm account can replace the logfile with a symlink, causing libvirtd (running as root) to transfer ownership of an arbitrary file to the swtpm user.

References

Community reviews

Loading reviews…