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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libvirt | 12.7.0-1 | — |
| Debian 13 | libvirt | No fix yet | — |
| Debian 12 | libvirt | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | libvirt +1 | 12.0.0-1ubuntu5.5 | USN-8833-1, USN-8831-1 |
| Ubuntu 24.04 LTS | libvirt | 10.0.0-2ubuntu8.19 | USN-8831-1 |
| Ubuntu 22.04 LTS | libvirt | 8.0.0-1ubuntu7.21 | USN-8831-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libvirt | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libvirt | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libvirt | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libvirt | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | libvirt | 11.0.0-150700.4.27.1 | SUSE-SU-2026:3939-1 |
| SLES 15 SP6 | libvirt | 10.0.0-150600.8.18.1 | SUSE-SU-2026:4010-1 |
| SLES 15 SP5 | libvirt | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SLES 15 SP4 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SLES 12 SP5 | libvirt | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | libvirt | 11.4.0-160000.5.1 | SUSE-SU-2026:23603-1 |
| SLES for SAP 15 SP6 | libvirt | 10.0.0-150600.8.18.1 | SUSE-SU-2026:4010-1 |
| SLES for SAP 15 SP5 | libvirt | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SLES for SAP 15 SP4 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SLES 16.0 | libvirt | 11.4.0-160000.5.1 | SUSE-SU-2026:23603-1 |
| SLE Micro 6.2 | libvirt | 11.4.0-160000.5.1 | SUSE-SU-2026:23460-1 |
| SLE Micro 6.1 | libvirt | 10.0.0-slfo.1.1_3.1 | SUSE-SU-2026:23515-1 |
| SLE Micro 6.0 | libvirt | 10.0.0-5.1 | SUSE-SU-2026:23445-1 |
| SLE Micro 5.5 | libvirt | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SLE Micro 5.4 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SLE Micro 5.3 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SLE HPC 15 SP5 | libvirt | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SLE HPC 15 SP4 | libvirt | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libvirt | 12.6.0-2.1 | openSUSE-SU-2026:11622-1 |
| openSUSE Leap 16.0 | libvirt | 11.4.0-160000.5.1 | openSUSE-SU-2026:21738-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libvirt +27 | 12.0.0-3.amzn2023.0.3 | ALAS2023-2026-3108 |
| Amazon Linux 2 | libvirt +30 | 4.5.0-36.amzn2.3.5 | ALAS2-2026-3932 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libvirt | 11.9.0-2 | — |
Advisories 16
- SUSE-SU-2026:23603-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 29, 2026
- WID-SEC-2026-3312 libvirt: Schwachstelle ermöglicht Privilegieneskalation BSI CERT-Bund (WID) · Sep 28, 2026
- ALAS2023-2026-3108 Important: libvirt security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- SUSE-SU-2026:4141-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 28, 2026
- USN-8833-1 libvirt-hwe vulnerabilities Ubuntu Security Notices (USN) · Sep 28, 2026
- USN-8831-1 libvirt vulnerabilities Ubuntu Security Notices (USN) · Sep 28, 2026
- ALAS2-2026-3932 Important: libvirt security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- SUSE-SU-2026:23515-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 15, 2026
- SUSE-SU-2026:23460-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 14, 2026
- SUSE-SU-2026:23445-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 14, 2026
- SUSE-SU-2026:4009-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:4010-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:4004-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 13, 2026
- SUSE-SU-2026:3939-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 10, 2026
- openSUSE-SU-2026:21738-1 Security update for libvirt SUSE / openSUSE Security Updates · Sep 9, 2026
- openSUSE-SU-2026:11622-1 libvirt-12.6.0-2.1 on GA media SUSE / openSUSE Security Updates · Aug 28, 2026