CVE-2025-8860Qemu-kvm: uefi-vars: information disclosure vulnerability in uefi_vars_write callback
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | qemu | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | qemu | Not affected vulnerable_code_not_present | ||
| Debian 14 | qemu | Fixed | 1:10.0.3+ds-4 | DEBIAN-CVE-2025-8860 |
| Debian 13 | qemu | Fixed | 1:10.0.3+ds-4 | DEBIAN-CVE-2025-8860 |
| Red Hat Enterprise Linux 10 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-audio-pa | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-block-blkio | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-block-curl | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-block-rbd | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-core | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-gpu | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-gpu-ccw | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-gpu-pci | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-vga | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-usb-host | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-usb-redirect | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-ui-egl-headless | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-ui-opengl | Not affected | ||
| Red Hat Enterprise Linux 10 | qemu-pr-helper | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-audio-pa | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-blkio | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-curl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-rbd | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-core | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-ccw | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-gl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-pci | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-pci-gl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-vga | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-vga-gl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-usb-host | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-usb-redirect | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-ui-egl-headless | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-ui-opengl | Not affected | ||
| Red Hat Enterprise Linux 9 | qemu-pr-helper | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-curl | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-gluster | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-iscsi | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-rbd | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-ssh | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-core | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-hw-usbredir | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-opengl | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-spice | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-img-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools-ma | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent-win32 | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm-tools | Not affected |
What the vendor says
As published in the CVE record by fedora, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- qemu: affected: 10.0.0 to before 10.1.0; fixed in
10.1.0 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8 Advanced Virtualization
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
References
- https://access.redhat.com/security/cve/CVE-2025-8860
- https://bugzilla.redhat.com/show_bug.cgi?id=2387588
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.