CVE-2025-58149

HIGH

Xen >=4.0.0 - Use-After-Free in PCI Device Detach Logic

Title source: llm
STIX 2.1

Description

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.

References (3)

Core 3
Core References
Mailing List, Patch, Third Party Advisory
http://www.openwall.com/lists/oss-security/2025/10/24/1

Scores

CVSS v3 7.5
EPSS 0.0035
EPSS Percentile 26.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-672
Status published
Products (1)
xen/xen 4.0.0
Published Oct 31, 2025
Tracked Since Feb 18, 2026