CVE-2025-8860
JSON

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 packageVersionsReported by
qemufrom 10.0.0 before 10.1.0CVE List
qemu-kvmNot specifiedCVE List
qemu-kvm-maNot specifiedCVE List
virt:rhel/qemu-kvmNot specifiedCVE List
virt:8.2/qemu-kvmNot specifiedCVE List
virt:av/qemu-kvmNot specifiedCVE List
rhcosNot specifiedCVE List

Classification

CWE-212

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

SourceRecordLicence
CVE ListCVE-2025-8860 changed 2026-02-19CVE Terms of Use
NVDCVE-2025-8860 changed 2026-06-17Public domain