Home / Xen / xen / CVE-2021-28687
CVE-2021-28687: is it exploited, and which versions of xen are affected and fixed?
CVE-2021-28687 is a missing initialization 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, 19:39 UTC). Affected: xen xen-unstable, xen from 4.12.x before unspecified and xen 4.14.x (CVE record by XEN). Fixed in unspecified and next of 4.13.x (CVE record by XEN). Severity: Medium (5.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:57 UTC.
What is CVE-2021-28687?
HVM soft-reset crashes toolstack libxl requires all data structures passed across its public interface to be initialized before use and disposed of afterwards by calling a specific set of functions. Many internal data structures also require this initialize / dispose discipline, but not all of them. When the "soft reset" feature was implemented, the libxl__domain_suspend_state structure didn't require any initialization or disposal. At some point later, an initialization function was introduced for the structure; but the "soft reset" path wasn't refactored to call the initialization function. When a guest nwo initiates a "soft reboot", uninitialized data structure leads to an assert() when later code finds the structure in an unexpected state. The effect of this is to crash the process monitoring the guest. How this affects the system depends on the structure of the toolstack. For xl, this will have no security-relevant effect: every VM has its own independent monitoring process, which contains no state. The domain in question will hang in a crashed state, but can be destroyed by `xl destroy` just like any other non-cooperating domain. For daemon-based toolstacks linked against libxl, such as libvirt, this will crash the toolstack, losing the state of any in-progress operations (localized DoS), and preventing further administrator operations unless the daemon is configured to restart automatically (system-wide DoS). If crashes "leak" resources, then repeated crashes could use up resources, also causing a system-wide DoS.
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.13.x |
| Xen | xen | 4.14.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.12 through 4.15.0 | operating system |
| xen | xen | 4.15.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:46 UTC.
How severe is CVE-2021-28687?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 4.9 | CVSS 2.0 | AV:L/AC:L/Au:N/C:N/I:N/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-28687 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.31% probability of exploitation activity in the next 30 days, percentile 26.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-909 Missing Initialization of Resource
Where are the vendor advisories and references?
- https://xenbits.xenproject.org/xsa/advisory-368.txt x_refsource_MISC
- GLSA-202107-30 vendor-advisory, x_refsource_GENTOO
Who found and reported it?
- {'credit_data': {'description': {'description_data': [{'lang': 'eng', 'value': 'This issue was discovered by Olaf Hering.'}]}}} (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
- June 11, 2021, 14:54 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:57 UTC; KEV December 3, 2026, 19: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-28687
Is CVE-2021-28687 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.31% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of xen are affected by CVE-2021-28687?
xen xen-unstable, xen from 4.12.x before unspecified and xen 4.14.x, per the CVE record by XEN. The tables above give every range the sources list.
Which version fixes CVE-2021-28687?
unspecified and next of 4.13.x, per the CVE record by XEN. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-28687?
Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-28687?
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.