{"id":"CVE-2025-58149","aliases":["CVE-2025-58149"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect removal of permissions on PCI device unplug","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Al pasar dispositivos PCI, la lógica de desasignación en libxl no eliminará los permisos de acceso a ninguna BAR de memoria de 64 bits que el dispositivo pueda tener. Como resultado, un dominio aún puede tener acceso a cualquier BAR de memoria de 64 bits cuando dicho dispositivo ya no está asignado al dominio.\n\nPara dominios PV, la fuga de permisos permite que el propio dominio mapee la memoria en las tablas de páginas. Para HVM, requeriría un modelo de dispositivo comprometido o un stubdomain para mapear la memoria filtrada en el p2m del dominio HVM.","source":"nvd"}],"published":"2025-10-31T11:50:39.536Z","modified":"2026-10-19T13:10:00.110Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-672"],"affected":[{"ranges":[{"version":"consult Xen advisory XSA-476","status":"unknown"}],"vendor":"Xen","product":"Xen","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.0.0"}],"vendor":"xen","product":"xen","cpe":"cpe:2.3:o:xen:xen:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-476.html","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://xenbits.xen.org/xsa/advisory-476.html","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/24/1","tags":["mailing-list","patch","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["This issue was discovered by Jiqian Chen of AMD and diagnosed as a\nsecurity issue by Roger Pau Monné of XenServer."],"assigner":"XEN","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-11-03T14:24:29.854Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58149","url":"https://www.cve.org/CVERecord?id=CVE-2025-58149","licence":"CVE Terms of Use","modified":"2025-11-04T21:13:31.524Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58149","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58149","licence":"Public domain","modified":"2026-10-19T13:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:07.080Z","epss":{"score":0.00435,"percentile":0.39532,"date":"2026-12-01T12:00:22.000Z"}}