3.3low
Qemu-kvm: uefi-vars: information disclosure vulnerability in uefi_vars_write callback
- Severity
- 3.3low CVSS:3.1 by fedora
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
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
| Product or package | Versions | Reported by |
|---|---|---|
| qemu | from 10.0.0 before 10.1.0 | CVE List |
| qemu-kvm | Not specified | CVE List |
| qemu-kvm-ma | Not specified | CVE List |
| virt:rhel/qemu-kvm | Not specified | CVE List |
| virt:8.2/qemu-kvm | Not specified | CVE List |
| virt:av/qemu-kvm | Not specified | CVE List |
| rhcos | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se encontró una falla en el dispositivo virtual uefi-vars de QEMU. Cuando un invitado escribe en el registro UEFI_VARS_REG_BUFFER_SIZE, se invoca la función de devolución de llamada .write 'uefi_vars_write'. La función asigna un búfer de la pila sin poner a cero la memoria, dejando el búfer lleno de datos residuales de asignaciones anteriores. Cuando el invitado lee posteriormente del registro UEFI_VARS_REG_PIO_BUFFER_TRANSFER, la función de devolución de llamada .read 'uefi_vars_read' devuelve metadatos sobrantes u otra memoria sensible del proceso del búfer asignado previamente, lo que lleva a una vulnerabilidad de revelación de información.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-8860 changed 2026-02-19 | CVE Terms of Use |
| NVD | CVE-2025-8860 changed 2026-06-17 | Public domain |