BreachSpiderVerified, not vibes

CVE-2025-58149 in Xen

High 7.5

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 itse...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS0.8%
EPSS percentile55th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Xen Xen ≥ 4.0.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-58149
BreachSpider IDBS-2025-GLOBAL-034191-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2025-10-31
Last modified2026-10-19
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-672: CWE-672

Analysis AI-written, not human-reviewed

CVE-2025-58149 affects the detach logic in libxl, failing to remove access permissions to 64-bit memory BARs when PCI devices are detached. This can allow domains to retain access to the memory BARs, potentially leading to unauthorized memory access.

The vulnerability arises from the detach logic in libxl not properly revoking access permissions to 64-bit memory BARs when PCI devices are detached from a domain. This can be exploited by a compromised domain to retain access to the memory BARs, which could lead to unauthorized memory access.

Questions

What is CVE-2025-58149?

CVE-2025-58149 affects the detach logic in libxl, failing to remove access permissions to 64-bit memory BARs when PCI devices are detached. This can allow domains to retain access to the memory BARs, potentially leading to unauthorized memory access.

What is the CVSS score for CVE-2025-58149?

CVE-2025-58149 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.8%.

Is CVE-2025-58149 actively exploited?

No confirmed active exploitation of CVE-2025-58149 as of 2026-10-25.

How do I remediate CVE-2025-58149?

Priority: HIGH. Advisory: http://xenbits.xen.org/xsa/advisory-476.html PSIRT: [email protected]

What systems are affected by CVE-2025-58149?

CVE-2025-58149 affects Xen Xen.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Xen","product":"Xen","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.