CVE-2025-58149 Details
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.
A vulnerability exists in Xen's libxl library, affecting versions 4.0 and newer, where the detach logic for PCI device passthrough does not properly remove access permissions to 64-bit memory Base Address Registers (BARs) once a device is unplugged. This oversight allows a domain to retain access to the memory BARs of disconnected PCI devices. In Paravirtualized (PV) domains, this permission leak enables the domain to map the memory into its page tables. For Hardware Virtual Machine (HVM) domains, exploiting this leak requires a compromised device model or stub domain to map the memory into the HVM domain's physical-to-machine (p2m) mapping.
To address this vulnerability, avoid hot unplugging PCI devices. For HVM domains, ensure that no untrusted components are present that could exploit the memory leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/10/24/1 | CVE | Mailing ListPatchThird Party Advisory |
| http://xenbits.xen.org/xsa/advisory-476.html | CVE | PatchVendor Advisory |
| https://xenbits.xenproject.org/xsa/advisory-476.html | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-672 | Operation on a Resource after Expiration or Release | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| xen xen | >= 4.0.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jan 14, 2026 | Initial Analysis | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CISA-ADP |
| Oct 31, 2025 | CVE Modified | CISA-ADP |
| Oct 31, 2025 | New CVE Received | [email protected] |