| Name | CVE-2025-8860 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1111030 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| qemu (PTS) | bullseye | 1:5.2+dfsg-11+deb11u3 | fixed |
| bullseye (security) | 1:5.2+dfsg-11+deb11u5 | fixed | |
| bookworm | 1:7.2+dfsg-7+deb12u18 | fixed | |
| bookworm (security) | 1:7.2+dfsg-7+deb12u15 | fixed | |
| trixie | 1:10.0.7+ds-0+deb13u1 | fixed | |
| trixie (security) | 1:10.0.2+ds-2+deb13u1 | vulnerable | |
| forky, sid | 1:10.2.1+ds-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| qemu | source | experimental | 1:10.1.0~rc3+ds-1 | |||
| qemu | source | bullseye | (not affected) | |||
| qemu | source | bookworm | (not affected) | |||
| qemu | source | (unstable) | 1:10.0.3+ds-4 | 1111030 |
[trixie] - qemu <no-dsa> (Minor issue)
[bookworm] - qemu <not-affected> (Vulnerable code not present)
[bullseye] - qemu <not-affected> (Vulnerable code not present)
https://bugzilla.redhat.com/show_bug.cgi?id=2387588
https://www.zerodayinitiative.com/advisories/ZDI-25-884/
Introduced with: https://gitlab.com/qemu-project/qemu/-/commit/90ca4e03c27dc8ac821a2e1686e705ae9a93d301 (v10.0.0-rc0)
Fixed by: https://gitlab.com/qemu-project/qemu/-/commit/f757d9d90d19b914d4023663bfc4da73bbbf007e (v10.1.0-rc4)