Home / Xen / xen / CVE-2021-28704
CVE-2021-28704: is it exploited, and which versions of xen are affected and fixed?
CVE-2021-28704 is a vulnerability in xen. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: xen xen-unstable, xen from 4.12.x before unspecified and xen 4.15.x (CVE record by XEN). Fixed in unspecified and next of 4.14.x (CVE record by XEN). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-28704?
PoD operations on misaligned GFNs T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] x86 HVM and PVH guests may be started in populate-on-demand (PoD) mode, to provide a way for them to later easily have more memory assigned. Guests are permitted to control certain P2M aspects of individual pages via hypercalls. These hypercalls may act on ranges of pages specified via page orders (resulting in a power-of-2 number of pages). The implementation of some of these hypercalls for PoD does not enforce the base page frame number to be suitably aligned for the specified order, yet some code involved in PoD handling actually makes such an assumption. These operations are XENMEM_decrease_reservation (CVE-2021-28704) and XENMEM_populate_physmap (CVE-2021-28707), the latter usable only by domains controlling the guest, i.e. a de-privileged qemu or a stub domain. (Patch 1, combining the fix to both these two issues.) In addition handling of XENMEM_decrease_reservation can also trigger a host crash when the specified page order is neither 4k nor 2M nor 1G (CVE-2021-28708, patch 2).
From the CVE record by XEN, last updated August 3, 2024, 21:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Xen | xen | xen-unstable | |
| Xen | xen | from 4.12.x before unspecified | unspecified, next of 4.14.x |
| Xen | xen | 4.15.x |
As the CVE record by XEN states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xen | xen | from 4.7.0 through 4.15.1 | operating system |
| fedoraproject | fedora | 34 | operating system |
| fedoraproject | fedora | 35 | operating system |
| debian | debian linux | 9.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:46 UTC.
How severe is CVE-2021-28704?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD |
| Medium 6.9 | CVSS 2.0 | AV:L/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-28704 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.9 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://xenbits.xenproject.org/xsa/advisory-388.txt
- FEDORA-2021-03645e9807 vendor-advisory
- DSA-5017 vendor-advisory
- FEDORA-2021-2b3a2de94f vendor-advisory
- GLSA-202402-07 vendor-advisory
Who found and reported it?
- {'credit_data': {'description': {'description_data': [{'lang': 'eng', 'value': 'This issue was discovered by Jan Beulich of SUSE.'}]}}} (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 18, 2021
- Published
- November 24, 2021, 00:00 UTC
- CVE record updated
- August 3, 2024, 21:47 UTC by XEN
- NVD
- Modified, last modified June 17, 2026, 03:46 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect xen?
- Dec 3, 2026CVE-2026-119781 Xen
- Dec 3, 2026CVE-2026-119782 Xen
- Dec 3, 2026CVE-2026-119783 Xen
- Nov 4, 2026CVE-2026-102703 Xen: incorrect type conversion
- Nov 4, 2026CVE-2026-102704 Xen: protection mechanism failure
- Oct 13, 2026CVE-2026-102700 Xen: resource not released
- Oct 13, 2026CVE-2026-102702 Xen: integer underflow
- Oct 13, 2026CVE-2026-102699 Xen: integer underflow
Questions about CVE-2021-28704
Is CVE-2021-28704 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of xen are affected by CVE-2021-28704?
xen xen-unstable, xen from 4.12.x before unspecified and xen 4.15.x, per the CVE record by XEN. The tables above give every range the sources list.
Which version fixes CVE-2021-28704?
unspecified and next of 4.14.x, per the CVE record by XEN. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-28704?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-28704?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.