When passing through PCI devices, the detach logic in libxl won't remove access permissions to any 64bit memory BARs the device might have. As a result a domain can still have access any 64bit memory BAR when such device is no longer assigned to the domain. For PV domains the permission leak allows the domain itself to map the memory in the page-tables. For HVM it would require a compromised device model or stubdomain to map the leaked memory into the HVM domain p2m.
Use CWE-672, Xen vendor hub and Xen product page to widen CVE-2025-58149 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2025-58143, CVE-2025-58142 and CVE-2025-27466 for nearby disclosures in the same product family.