CVE-2022-42332 in Debian Linux and 2 more products
x86 shadow plus log-dirty mode use-after-free In environments where host assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable, Xen will run guests in so called shadow mode. Shadow mode maintains a pool of memory used for both shadow page tables as well as auxiliary data structu...
Affects 3 products from 3 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 11.0 |
| Fedoraproject | Fedora | 37 38 |
| Xen | Xen | ≥ 3.2.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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
x86 shadow plus log-dirty mode use-after-free In environments where host assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable, Xen will run guests in so called shadow mode. Shadow mode maintains a pool of memory used for both shadow page tables as well as auxiliary data structures. To migrate or snapshot guests, Xen additionally runs them in so called log-dirty mode. The data structures needed by the log-dirty tracking are part of aformentioned auxiliary data. In order to keep error handling efforts within reasonable bounds, for operations which may require memory allocations shadow mode logic ensures up front that enough memory is available for the worst case requirements. Unfortunately, while page table memory is properly accounted for on the code path requiring the potential establishing of new shadows, demands by the log-dirty infrastructure were not taken into consideration. As a result, just established shadow page tables could be freed again immediately, while other code is still accessing them on the assumption that they would remain allocated.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-42332 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-334111-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-03-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
CVE-2022-42332 is a use-after-free vulnerability in Xen's x86 shadow plus log-dirty mode, affecting environments where host-assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable.
An attacker with control over a guest VM could potentially exploit this vulnerability to execute arbitrary code in the host context, leading to a full system compromise.
Questions
What is CVE-2022-42332?
CVE-2022-42332 is a use-after-free vulnerability in Xen's x86 shadow plus log-dirty mode, affecting environments where host-assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable.
What is the CVSS score for CVE-2022-42332?
CVE-2022-42332 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2022-42332 actively exploited?
No confirmed active exploitation of CVE-2022-42332 as of 2026-09-25.
How do I remediate CVE-2022-42332?
Priority: HIGH. Advisory: http://xenbits.xen.org/xsa/advisory-427.html
What systems are affected by CVE-2022-42332?
CVE-2022-42332 affects Debian Debian Linux; Fedoraproject Fedora; 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":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.