{"id":"DEBIAN-CVE-2026-77159","details":"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.","modified":"2026-09-17T08:47:25.242866835Z","published":"2026-09-11T11:16:54.677Z","upstream":["CVE-2026-77159"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-77159"}],"affected":[{"package":{"name":"libvirt","ecosystem":"Debian:12","purl":"pkg:deb/debian/libvirt?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.0.0-1","10.0.0-2","10.0.0-3","10.1.0-1","10.10.0-1","10.10.0-2","10.10.0-3","10.10.0-4","10.2.0-1","10.3.0-1","10.3.0-2","10.3.0-3","10.4.0-1","10.5.0-1","10.6.0-1","10.6.0-2","10.6.0-3","10.7.0-1","10.7.0-2","10.7.0-3","10.8.0-1","10.9.0-1","10.9.0-2","11.0.0-1","11.0.0-2","11.1.0-1","11.1.0-2","11.10.0-1","11.10.0-2","11.2.0-1","11.2.0-2","11.2.0-3","11.3.0-1","11.3.0-2","11.3.0-2~bpo12+1","11.3.0-3","11.4.0-1","11.5.0-1","11.6.0-1","11.7.0-1","11.8.0-1","11.8.0-2","11.9.0-1","11.9.0-2","12.0.0-1","12.1.0-1","12.2.0-1","12.3.0-1","12.4.0-1","12.5.0-1","12.6.0-1","12.7.0-1","9.0.0-4","9.0.0-4+deb12u1","9.0.0-4+deb12u2","9.1.0-1","9.10.0-1","9.2.0-1","9.2.0-2","9.3.0-1","9.3.0-2","9.4.0-1","9.5.0-1","9.5.0-2","9.6.0-1","9.6.0-2","9.6.0-3","9.7.0-1","9.8.0-1","9.8.0-2","9.9.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77159.json"}},{"package":{"name":"libvirt","ecosystem":"Debian:13","purl":"pkg:deb/debian/libvirt?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["11.10.0-1","11.10.0-2","11.3.0-3","11.3.0-3+deb13u1","11.3.0-3+deb13u2","11.3.0-3+deb13u3","11.4.0-1","11.5.0-1","11.6.0-1","11.7.0-1","11.8.0-1","11.8.0-2","11.9.0-1","11.9.0-2","12.0.0-1","12.1.0-1","12.2.0-1","12.3.0-1","12.4.0-1","12.5.0-1","12.6.0-1","12.7.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77159.json"}},{"package":{"name":"libvirt","ecosystem":"Debian:14","purl":"pkg:deb/debian/libvirt?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.7.0-1"}]}],"versions":["11.10.0-1","11.10.0-2","11.3.0-3","11.4.0-1","11.5.0-1","11.6.0-1","11.7.0-1","11.8.0-1","11.8.0-2","11.9.0-1","11.9.0-2","12.0.0-1","12.1.0-1","12.2.0-1","12.3.0-1","12.4.0-1","12.5.0-1","12.6.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-77159.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}