Xen XSA-523 CVE-2026-102703: one guest can read and write Dom0 memory
grant copy hypervisor escape with no known mitigation

Xen XSA-523 CVE-2026-102703: one guest can read and write Dom0 memory

The Xen Project published advisory XSA-523 on 3 November: two flaws in how the hypervisor handles a batch of grant copy operations. A guest that wins gets read and write access to memory belonging to other guests and to Dom0.

What happened

When a guest issues a batch of grant copy calls against adjacent ranges inside the same page, Xen caches the validation details instead of re-checking everything. XSA-523 says the rules for when that cached data must be re-validated were wrong in two places.

Frame numbers and grant references could be mixed up. That is CVE-2026-102703. Separately, copying by frame number is only permitted against the caller's own memory, and the check enforcing that limit was misplaced. That is CVE-2026-102704.

The advisory states the outcome without softening it: a malicious guest can read and write arbitrary memory belonging to other domains, including Dom0. There is no known mitigation. Patches are attached for xen-unstable through 4.19.x and for the 4.18 and 4.17 branches, and a hypervisor restart is needed to load them. The issue was found by Anthropic using Claude, validated by Stephan Lipp of Ada Logics, and independently reported by the CodeAnt AI Security Research Team.

Who is affected

Every Xen version from 4.6 onwards is vulnerable. Xen 4.5 and earlier are not.

  • Hosting providers running Xen with guests they do not fully trust, including resold VPS.
  • Appliance and distribution builds on Xen, such as XCP-ng and Citrix Hypervisor, until the vendor ships the XSA-523 patches.
  • Any business that runs its own virtualisation host for a handful of internal VMs, where one forgotten test guest shares the box with production.

What to do now

Patch the hypervisor on every host that runs a guest you would not hand root to.

  • Apply the xsa523 patch series that matches your branch, or take the fixed build from your distribution.
  • On XCP-ng or XenServer, confirm with the vendor which release carries XSA-523 and schedule a maintenance window rather than patching the hypervisor by hand.
  • Inventory guests you have stopped maintaining. A stale VM with a web console someone else can reach is exactly the position this flaw needs.
  • Record which hosts ran untrusted guests before the patch, and keep the hypervisor logs, in case you need them later.

What this means for South African businesses

Most SMEs here do not run a hypervisor themselves, but their website, mail and file server sit on someone else's. For those businesses the question is not the CVE, it is whether the provider patches Xen before the next escape lands. Judgement: the exposure that actually bites an SME is a company running two or three VMs on one host for cost reasons, where a single compromised guest is no longer one compromised server but the whole estate.

Source: Xen Security Advisory XSA-523.

Also on the blog

Next step: If this is on your network or a client's, ask Matthews Enterprises to check exposure.

mSecure: vendor tells every user to change stored passwords, reset 2FA and drop passkeys
mSecure suspicious activity credential reset notice