{"id":"CVE-2025-58149","published":"2025-10-31T11:50:39Z","modified":"2025-11-04T21:13:31Z","title":"Incorrect removal of permissions on PCI device unplug","vendor":"Xen","product":"Xen","tier":"tail","description":{"text":"When passing through PCI devices, the detach logic in libxl won't remove\naccess permissions to any 64bit memory BARs the device might have.  As a\nresult a domain can still have access any 64bit memory BAR when such\ndevice is no longer assigned to the domain.\n\nFor PV domains the permission leak allows the domain itself to map the memory\nin the page-tables.  For HVM it would require a compromised device model or\nstubdomain to map the leaked memory into the HVM domain p2m.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00435,"percentile":0.38613,"provenance":"source"},"cwes":[{"id":"CWE-672","name":"Operation on a Resource after Expiration or Release"}],"references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-476.html","tags":[]},{"url":"http://xenbits.xen.org/xsa/advisory-476.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/24/1","tags":[]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":7.72},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"xen","workarounds":{"items":["Not doing hot unplug of PCI devices will avoid the vulnerability. Passing through PCI devices to HVM domains only will also limit the impact, as an attacker would require another compromised component to exploit it."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-03T14:24:29.854834Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-37346","exploited":false,"provenance":"source"}}