CVE-2026-81627Qemu-kvm: vapic writable rom alias can escape the option-rom window and expose locked…
A flaw was found in QEMU. The VAPIC setup hypercall in hw/i386/vapic.c does not validate that the writable RAM alias remains within the option ROM window. A privileged guest user on a Q35/KVM machine can position this alias over locked SMRAM, bypassing chipset D_LCK protection and injecting code into System Management Mode memory.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
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 26.10 | qemu | Fix pending | UBUNTU-CVE-2026-81627 | |
| Ubuntu 26.10 | qemu-hwe | Fix pending | UBUNTU-CVE-2026-81627 | |
| Ubuntu 26.04 | qemu | Under investigation | UBUNTU-CVE-2026-81627 | |
| Ubuntu 26.04 | qemu-hwe | Under investigation | UBUNTU-CVE-2026-81627 | |
| Ubuntu 24.04 | qemu | Under investigation | UBUNTU-CVE-2026-81627 | |
| Ubuntu 22.04 | qemu | Under investigation | UBUNTU-CVE-2026-81627 | |
| Ubuntu 20.04 | qemu | Fix pending | UBUNTU-CVE-2026-81627 | |
| Ubuntu 18.04 | qemu | Fix pending | UBUNTU-CVE-2026-81627 | |
| Ubuntu 16.04 | qemu | Fix pending | UBUNTU-CVE-2026-81627 | |
| Ubuntu 14.04 | qemu | Fix pending | UBUNTU-CVE-2026-81627 | |
| Debian 14 | qemu | Fixed | 1:11.1.2+ds-1 | DEBIAN-CVE-2026-81627 |
| Debian 13 | qemu | Fix pending | DEBIAN-CVE-2026-81627 | |
| Debian 12 | qemu | Fix pending | DEBIAN-CVE-2026-81627 | |
| Red Hat Enterprise Linux 10 | qemu-guest-agent | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-img | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-audio-pa | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-block-blkio | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-block-curl | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-block-rbd | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-gpu | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-gpu-ccw | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-gpu-pci | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-vga | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-usb-host | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-usb-redirect | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-docs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-ui-egl-headless | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-ui-opengl | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | qemu-pr-helper | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-guest-agent | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-img | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-audio-pa | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-blkio | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-curl | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-rbd | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-ccw | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-gl | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-pci | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-pci-gl | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-vga | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-vga-gl | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-usb-host | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-usb-redirect | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-docs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-ui-egl-headless | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-ui-opengl | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | qemu-pr-helper | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-guest-agent | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-img | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-curl | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-gluster | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-iscsi | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-rbd | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-ssh | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-docs | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-hw-usbredir | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-tests | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-opengl | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-spice | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | libcacard | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | libcacard-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | libcacard-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | qemu-guest-agent | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | qemu-img | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | qemu-img-ma | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common-ma | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-ma | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools-ma | Fix pending 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 redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux for NVIDIA 26
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
- Red Hat OpenStack Platform 13 (Queens)
Workaround: The VAPIC TPR optimization can be disabled by preventing the kvmvapic option ROM from loading. When using libvirt, set the following in the guest's domain XML: ``` <features> <apic/> <hyperv> <vapic state='off'/> </hyperv> </features> ``` When using QEMU directly, pass `-global kvmvapic.rom=off` on the command line. This optimization is only used by 32-bit Windows guests for MMIO-based TPR register access. Linux guests, 64-bit Windows guests, and any guest using x2APIC or MSR-based TPR access are unaffected by disabling it.
References
- https://access.redhat.com/security/cve/CVE-2026-81627
- https://bugzilla.redhat.com/show_bug.cgi?id=2536950
- https://gitlab.com/qemu-project/qemu/-/work_items/4206
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.