CVE-2025-58149CWE-672

CVE-2025-58149

High · published October 31, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
36.7
In the wild
Unconfirmed
What it is

⚡ A sneaky permission leak is hiding in libxl, letting domains keep access to 64bit memory after devices are detached! Think of it like a restaurant that forgets to clear out your reservation — even after you’ve canceled, you still have access to the kitchen. This situation allows unauthorized access to sensitive memory areas, posing a threat to your system's integrity. An attacker could potentially map sensitive memory regions even after a device is no longer assigned, which could lead to unauthorized data access or manipulation. If a malicious actor compromises the device model, the infiltration could be disastrous, allowing them to gain control over crucial memory spaces.

Put simply

Think of it like a restaurant that forgets to clear out your reservation — even after you’ve canceled, you still have access to the kitchen. This situation allows unauthorized access to sensitive memory areas, posing a threat to your system's integrity. The vulnerability in libxl allows persistent access to detached PCI device memory-mapped regions (BARs) due to inadequate permission revocation logic. This creates opportunities for both PV and HVM domains to exploit potential access if the device model is compromised.

What to do

An attacker could potentially map sensitive memory regions even after a device is no longer assigned, which could lead to unauthorized data access or manipulation. If a malicious actor compromises the device model, the infiltration could be disastrous, allowing them to gain control over crucial memory spaces. To address this vulnerability, update libxl to the latest version to apply the necessary patches. Review and tighten your device assignment policies to ensure proper access controls are in place for PCI devices. You've got this! By following these steps, you'll be one step closer to securing your environment. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00435 · 36.7th percentile
Weakness
CWE-672 · Operation on a Resource after Expiration or Release
Published
2025-10-31T16:15Z
Affected products (1)
ProductVersionsFixed in
xen/xen≥ 4.0.0—
References (3)
EPSS history
Timeline
  • 31 OCT 11:50Z
    Incorrect removal of permissions on PCI device unplug
    cvelistv5