CVE-2026-77159
published medium CVSS 3.1 · 5.5Libvirt: unsafe chown in qemutpmemulatorpreparehost() allows arbitrary file ownership change via symlink
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 9, 10 | libvirt | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | libvirt | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 7 | libvirt | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | virt:rhel/libvirt | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3932 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3108 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | libvirtaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| Ubuntu | jammy | libvirt | Advisory build | 8.0.0-1ubuntu7.21 | USN-8831-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | libvirtppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirts390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirtx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-15-SP4 | libvirtaarch64 | Advisory build | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SUSE / openSUSE | SLE-15-SP4 | libvirtppc64le | Advisory build | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SUSE / openSUSE | SLE-15-SP4 | libvirts390x | Advisory build | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SUSE / openSUSE | SLE-15-SP4 | libvirtx86_64 | Advisory build | 8.0.0-150400.7.17.1 | SUSE-SU-2026:4004-1 |
| SUSE / openSUSE | SLE-15-SP5 | libvirtaarch64 | Advisory build | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SUSE / openSUSE | SLE-15-SP5 | libvirtppc64le | Advisory build | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SUSE / openSUSE | SLE-15-SP5 | libvirts390x | Advisory build | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SUSE / openSUSE | SLE-15-SP5 | libvirtx86_64 | Advisory build | 9.0.0-150500.6.29.1 | SUSE-SU-2026:4009-1 |
| SUSE / openSUSE | SLE-15-SP6 | libvirtaarch64 | Advisory build | 10.0.0-150600.8.18.1 | SUSE-SU-2026:4010-1 |
| SUSE / openSUSE | SLE-15-SP6 | libvirtppc64le | Advisory build | 10.0.0-150600.8.18.1 | SUSE-SU-2026:4010-1 |
| SUSE / openSUSE | SLE-15-SP6 | libvirts390x | Advisory build | 10.0.0-150600.8.18.1 | SUSE-SU-2026:4010-1 |
| SUSE / openSUSE | SLE-15-SP6 | libvirtx86_64 | Advisory build | 10.0.0-150600.8.18.1 | SUSE-SU-2026:4010-1 |
| SUSE / openSUSE | SLE-15-SP7 | libvirtaarch64 | Advisory build | 11.0.0-150700.4.27.1 | SUSE-SU-2026:3939-1 |
| SUSE / openSUSE | SLE-15-SP7 | libvirtppc64le | Advisory build | 11.0.0-150700.4.27.1 | SUSE-SU-2026:3939-1 |
| SUSE / openSUSE | SLE-15-SP7 | libvirts390x | Advisory build | 11.0.0-150700.4.27.1 | SUSE-SU-2026:3939-1 |
| SUSE / openSUSE | SLE-15-SP7 | libvirtx86_64 | Advisory build | 11.0.0-150700.4.27.1 | SUSE-SU-2026:3939-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libvirtaarch64 | Advisory build | 11.4.0-160000.5.1 | OPENSUSE-SU-2026:21738-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libvirtppc64le | Advisory build | 11.4.0-160000.5.1 | OPENSUSE-SU-2026:21738-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libvirts390x | Advisory build | 11.4.0-160000.5.1 | OPENSUSE-SU-2026:21738-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libvirtx86_64 | Advisory build | 11.4.0-160000.5.1 | OPENSUSE-SU-2026:21738-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvirtaarch64 | Advisory build | 12.6.0-2.1 | OPENSUSE-SU-2026:11622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvirtppc64le | Advisory build | 12.6.0-2.1 | OPENSUSE-SU-2026:11622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvirts390x | Advisory build | 12.6.0-2.1 | OPENSUSE-SU-2026:11622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libvirtx86_64 | Advisory build | 12.6.0-2.1 | OPENSUSE-SU-2026:11622-1 |
| Ubuntu | noble | libvirt | Advisory build | 10.0.0-2ubuntu8.19 | USN-8831-1 |
| Ubuntu | resolute | libvirt | Advisory build | 12.0.0-1ubuntu5.5 | USN-8831-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-adminaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-adminppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-admins390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-adminx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-clientaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-clientppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-clients390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-clientx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemonaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemonppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemons390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemonx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-config-networkaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-config-networkppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-config-networks390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-config-networkx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-config-nwfilteraarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-config-nwfilterppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-config-nwfilters390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-config-nwfilterx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-interfaceaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-interfaceppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-interfaces390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-interfacex86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-libxlx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-lxcaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-lxcppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-lxcs390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-lxcx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-networkaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-networkppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-networks390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-networkx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-nodedevaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-nodedevppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-nodedevs390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-nodedevx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-nwfilteraarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-nwfilterppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-nwfilters390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-nwfilterx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-qemuaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-qemuppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-qemus390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-qemux86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-secretaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-secretppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-secrets390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-secretx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storageaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storageppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storages390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storagex86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-coreaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-coreppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-cores390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-corex86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-diskaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-diskppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-disks390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-diskx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-iscsiaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-iscsippc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-iscsis390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-iscsix86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-logicalaarch64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-logicalppc64le | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-logicals390x | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
| SUSE / openSUSE | SLE-12-SP5 | libvirt-daemon-driver-storage-logicalx86_64 | Advisory build | 5.1.0-13.48.1 | SUSE-SU-2026:4141-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
Weaknesses
1- CWE-61 UNIX Symbolic Link (Symlink) Following
References
3- https://access.redhat.com/security/cve/CVE-2026-77159
- RHBZ#2531811 https://bugzilla.redhat.com/show_bug.cgi?id=2531811
- https://gitlab.com/libvirt/libvirt/-/work_items/909
Provider assertions
2redhat · cna
Libvirt: unsafe chown in qemutpmemulatorpreparehost() allows arbitrary file ownership change via symlink
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 089fd454bb7002d89fc93de8947b28e279d2491aa22e8cb2aa0fbe1d09648660
- Ingested
- 24 Nov 2026, 23:56:08 UTC
- Source record
- Official CVE record