CVE-2022-42321: Xenstore: Guests can crash xenstored via exhausting the stack Xenstored is using recursion for some Xenstore operations (e.g.
Noroxi assessment
Priority: Monitor (action score 26/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.29% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: xen (Alpine:v3.14) 4.15.4-r0; xen (Alpine:v3.16) 4.16.3-r0; xen (Alpine:v3.18) 4.17.0-r0.
Low priority for now. Upgrade to xen (Alpine:v3.14) 4.15.4-r0; xen (Alpine:v3.16) 4.16.3-r0; xen (Alpine:v3.18) 4.17.0-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Xenstore: Guests can crash xenstored via exhausting the stack Xenstored is using recursion for some Xenstore operations (e.g. for deleting a sub-tree of Xenstore nodes). With sufficiently deep nesting levels this can result in stack exhaustion on xenstored, leading to a crash of xenstored.
- Published
- Nov 1, 2022
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 22th percentile
- CWE
- CWE-674
Report tools
Action score
26
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| xen | xen | cpe:2.3:o:xen:xen |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (XEN). Independent of NVD's CPE analysis and usually ahead of it.
Xen xen
- consult Xen advisory XSA-418unknown
Affected versions · NVD (5)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux11.0
- fedoraproject fedora35
- fedoraproject fedora36
- fedoraproject fedora37
- xen xenall versions
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.14 | xen | before 4.15.4-r0 | 4.15.4-r0 |
| Alpine:v3.16 | xen | before 4.16.3-r0 | 4.16.3-r0 |
| Alpine:v3.18 | xen | before 4.17.0-r0 | 4.17.0-r0 |
| Debian:11 | xen | before 4.14.5+86-g1c354767d5-1 | 4.14.5+86-g1c354767d5-1 |
| Debian:12 | xen | before 4.16.2+90-g0d39a6d1ae-1 | 4.16.2+90-g0d39a6d1ae-1 |
| openSUSE:Leap 15.4 | xen | before 4.16.2_08-150400.4.16.1 | 4.16.2_08-150400.4.16.1 |
| openSUSE:Leap Micro 5.2 | xen | before 4.14.5_08-150300.3.40.1 | 4.14.5_08-150300.3.40.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | xen | before 4.12.4_30-150100.3.80.1 | 4.12.4_30-150100.3.80.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS | xen | before 4.13.4_16-150200.3.65.1 | 4.13.4_16-150200.3.65.1 |
| SUSE:Linux Enterprise High Performance Computing 15-ESPOS | xen | before 4.10.4_40-150000.3.84.1 | 4.10.4_40-150000.3.84.1 |
| SUSE:Linux Enterprise Micro 5.3 | xen | before 4.16.2_08-150400.4.16.1 | 4.16.2_08-150400.4.16.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP3 | xen | before 4.14.5_08-150300.3.40.1 | 4.14.5_08-150300.3.40.1 |
| SUSE:Linux Enterprise Server 12 SP2-BCL | xen | before 4.7.6_28-43.98.1 | 4.7.6_28-43.98.1 |
| SUSE:Linux Enterprise Server 12 SP3-BCL | xen | before 4.9.4_34-3.114.1 | 4.9.4_34-3.114.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | xen | before 4.12.4_30-3.82.1 | 4.12.4_30-3.82.1 |
| SUSE:OpenStack Cloud 9 | xen | before 4.11.4_34-2.83.1 | 4.11.4_34-2.83.1 |
Same product
xen: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-10921The grant-table feature in Xen through 4.8.x does not ensure sufficient type counts for a GNTMAP_device_map and GNTMAP_host_map mapping…41Plan
- CVE-2017-10920The grant-table feature in Xen through 4.8.x mishandles a GNTMAP_device_map and GNTMAP_host_map mapping, when followed by only a…41Plan
- CVE-2017-10918Xen through 4.8.x does not validate memory allocations during certain P2M operations, which allows guest OS users to obtain privileged host…41Plan
Published before and after this one in the same product
- ← EarlierCVE-2022-42319Nov 1, 2022 · Xenstore: Guests can cause Xenstore to not free temporary memory When working on a request of a guest, xenstored might need to allocate…26Monitor
- ← EarlierCVE-2022-42320Nov 1, 2022 · Xenstore: Guests can get access to Xenstore nodes of deleted domains Access rights of Xenstore nodes are per domid.28Monitor
- Later →CVE-2022-42322Nov 1, 2022 · Xenstore: Cooperating guests can create arbitrary numbers of nodes T[his CNA information record relates to multiple CVEs; the text explains…22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:xen | 4.15.4-r0 · Alpine:v3.14 | Package registry (OSV) |
| debian:xen | 4.16.2+90-g0d39a6d1ae-1 · Debian:12 | Package registry (OSV) |
| opensuse:xen | 4.14.5_08-150300.3.40.1 · openSUSE:Leap Micro 5.2 | Package registry (OSV) |
| suse:xen | 4.10.4_40-150000.3.84.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOS | Package registry (OSV) |
| suse:xen | 4.14.5_08-150300.3.40.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- David VrabelAmazon.'}]}}}
Not on record for this CVE: EPSS history · patch commit or PR link · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-674 · Uncontrolled RecursionCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- xenbits.xen.org/xsa/advisory-418.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTMITQBGC23MSDHUCAPCVGLMVXIBXQTQ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZVXG7OOOXCX6VIPEMLFDPIPUTFAYWPE/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLI2NPNEH7CNJO3VZGQNOI4M4EWLNKPZ/
- security.gentoo.org/glsa/202402-07
- www.debian.org/security/2022/dsa-5272
- xenbits.xenproject.org/xsa/advisory-418.txt
Vendor advisories and official records. Exploit/PoC links are deliberately left out.