CVE-2025-58149 json
Incorrect removal of permissions on PCI device unplug
published 2025-10-31 12 mo ago modified 2026-10-19 20 d ago also EUVD-2025-37346
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- xen Debian 12 4.17.5+72-g01140da4e8-1
- xen Debian 13 4.20.2+7-g1badcf5035-0+deb13u1
- xen Debian 14 4.20.2+7-g1badcf5035-1
debian advisories DEBIAN-CVE-2025-58149
- xen SLE Micro 5.4, SLE Micro 5.3 4.16.7_06-150400.4.78.1
- xen SLE Micro 5.2 4.14.6_28-150300.3.94.1
- xen SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Server Applications 15 SP6 +2 more 4.18.5_08-150600.3.34.2
- xen SLE Micro 5.5 4.17.6_02-150500.3.56.1
- xen SLE Module for Server Applications 15 SP7, SLE Module for Basesystem 15 SP7 4.20.2_02-150700.3.19.1
- xen SLES LTSS Extended Security 12 SP5 4.12.4_64-3.137.1
suse advisories SUSE-SU-2026:0394-1SUSE-SU-2026:0328-1SUSE-SU-2026:0303-1SUSE-SU-2026:0012-1SUSE-SU-2025:4490-1SUSE-SU-2025:4419-1
- xen openSUSE Tumbleweed 4.20.1_08-1.1
opensuse advisories openSUSE-SU-2025:15719-1
- xen Alpine 3.20, Alpine 3.19 4.18.5-r3
- xen Alpine 3.21 4.19.3-r2
- xen Alpine 3.24, Alpine 3.23, Alpine 3.22 4.20.1-r2
alpine advisories ALPINE-CVE-2025-58149
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-58149 updated cvss 5.9
xen: Incorrect removal of permissions on PCI device unplug
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 12 mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected products
- Xen Xen
Classification
- Weakness
-
- CWE-672 Operation on a Resource after Expiration or Release
References
-
xenbits.xenproject.org
/xsa/advisory-476.html
patch, vendor-advisory
-
xenbits.xen.org
/xsa/advisory-476.html
patch, vendor-advisory
-
openwall.com
/lists/oss-security/2025/10/24/1
mailing-list, patch, third-party-advisory
Sources
- CVE List CVE-2025-58149
- NVD CVE-2025-58149
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.