# CVE-2026-81627: Qemu-kvm: vapic writable rom alias can escape the option-rom window and expose locked smram

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-09-18T10:54:03.297Z
- **Modified:** 2026-11-23T16:18:01.417Z

## Who should check

- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 6 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 7 all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 9 all versions
- Anyone running Red Hat Enterprise Linux for NVIDIA 26 (versions: see the vendor advisory)
- Anyone running Red Hat OpenShift Container Platform 4 all versions
- Anyone running Red Hat OpenShift Container Platform 5 all versions

## Description

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.

## Affected and fixed versions

- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 7: all versions (cvelist)
- Red Hat Enterprise Linux 7: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux for NVIDIA 26: see vendor advisory (cvelist)
- Red Hat OpenShift Container Platform 4: all versions (cvelist)
- Red Hat OpenShift Container Platform 4: all versions (cvelist)
- Red Hat OpenShift Container Platform 5: all versions (cvelist)
- Red Hat OpenStack Platform 13 (Queens): all versions (cvelist)

## Mitigation

- Vendor 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-81627. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-81627.md
Affected: Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for 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: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-81627 being exploited?

There is no confirmed exploitation: CVE-2026-81627 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-81627?

High: CVSS 8.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-81627?

Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux for NVIDIA 26; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 5 all versions; Red Hat OpenStack Platform 13 (Queens) all versions.

### Is there a fix for CVE-2026-81627?

No fixed version is listed in the sources yet. Vendor 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.

### How do I check if I'm affected by CVE-2026-81627?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- exploit: <https://gitlab.com/qemu-project/qemu/-/work_items/4206>
- other: <https://access.redhat.com/security/cve/CVE-2026-81627>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2536950>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-81627>

HTML: <https://flawdb.com/CVE-2026-81627> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-81627>
