BreachSpiderVerified, not vibes

CVE-2022-42332 in Debian Linux and 2 more products

High 7.8

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.

CVSS 3.17.8
EPSS0.4%
EPSS percentile22th
FixSee advisory

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

VendorProductAffected 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

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot 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 IDCVE-2022-42332
BreachSpider IDBS-2023-GLOBAL-334111-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2023-03-21
Last modified2026-06-17
Weakness (CWE)
SourceNVD

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"}]}'

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-06-17.