Description
A flaw was found in QEMU in the uefi-vars virtual device. When the guest writes to register UEFI_VARS_REG_BUFFER_SIZE, the .write callback `uefi_vars_write` is invoked. The function allocates a heap buffer without zeroing the memory, leaving the buffer filled with residual data from prior allocations. When the guest later reads from register UEFI_VARS_REG_PIO_BUFFER_TRANSFER, the .read callback `uefi_vars_read` returns leftover metadata or other sensitive process memory from the previously allocated buffer, leading to an information disclosure vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | qemu | 10.0.0 – < 10.1.0 | 10.1.0 |
| 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 8 Advanced Virtualization | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | — | — |
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 | qemu | 1:10.0.3+ds-4 | — |
| Debian 13 | qemu | 1:10.0.3+ds-4 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | qemu-img +10 | 31:7.2.0-37.el9 | ELSA-2026-50241 |
| Oracle Linux 8 | hivex +4 | 1.3.18-23.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | libguestfs-winsupport | 8.10-1.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | libiscsi +2 | 1.18.0-8.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | libnbd +4 | 1.6.0-6.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | libtpms +1 | 0.9.1-3.20211126git1ff6fe1f43.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | libvirt +29 | 9.0.0-16.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | nbdkit +18 | 1.24.0-5.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | netcf +2 | 0.2.8-12.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | perl-Sys-Virt | 8.0.0-1.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | qemu-img +11 | 15:7.2.0-37.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | seabios +2 | 1.16.0-4.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | sgabios +1 | 1:0.20170427git-3.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | supermin +1 | 5.2.1-2.0.1.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | swtpm +4 | 0.7.0-4.20211109gitb79fd91.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | virt-dib +22 | 1:1.44.0-9.0.3.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
| Oracle Linux 8 | virt-v2v +3 | 1:1.42.0-22.module+el8.10.0+90872+a1d63504 | ELSA-2026-50239 |
Advisories 3
- WID-SEC-2025-1763 QEMU: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Jun 23, 2026
- ELSA-2026-50241 Moderate: qemu-kvm security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Apr 24, 2026
- ELSA-2026-50239 Moderate: virt:kvm_utils3 bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 24, 2026
References
- https://access.redhat.com/security/cve/CVE-2025-8860 vdb-entry
- RHBZ#2387588 issue-tracking