{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-58149","id":"CVE-2025-58149","title":"Incorrect removal of permissions on PCI device unplug","description":"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 de","descriptionLong":"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.","published":"2025-10-31T11:50:39.536Z","updated":"2026-10-19T13:10:00.110Z","reserved":"2025-08-26T06:48:41.443Z","status":"Analyzed","rejected":false,"assigner":"XEN","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"}],"rating":"high","products":["Xen"],"affectedProducts":[{"vendor":"Xen","product":"Xen","defaultStatus":"unknown","versions":[{"status":"unknown","version":"consult Xen advisory XSA-476"}],"platforms":[]}],"packages":[],"cwes":["CWE-672"],"aliases":[],"references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-476.html","tags":["Patch","Vendor Advisory","fix"]},{"url":"http://xenbits.xen.org/xsa/advisory-476.html","tags":["Patch","Vendor Advisory","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/24/1","tags":["Mailing List","Patch","Third Party Advisory","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00435,"epssPercentile":0.38483,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-58149","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58149","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-58149","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-58149","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}