Critical Race Condition Vulnerability in Xen Package Leading to Potential Host OS Denial of Service

xen Updated 02 Oct 2025

Summary

22/10/2020
N/A
Yes i
High
7.0

ALPINE-CVE-2020-27672: An issue was discovered in Xen through 4.14.x allowing x86 guest OS users to cause a host OS denial of service, achieve data corruption, or possibly gain privileges by exploiting a race condition that leads to a use-afte... Affects xen versions < 4.12.4-r0. Fixed in 4.12.4-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Xen is an open-source hypervisor that enables the creation and management of virtual machines. It is widely used for server virtualization and cloud computing. The Xen package allows multiple operating systems to run concurrently on a single physical machine, providing isolation and resource management. However, it is susceptible to vulnerabilities that can compromise the host OS's stability and security.

Vulnerability Detail

An issue was discovered in Xen through version 4.14.x, which allows x86 guest OS users to exploit a race condition. This vulnerability can lead to a denial of service on the host OS, data corruption, or even privilege escalation. The root cause lies in a use-after-free condition involving 2MiB and 1GiB superpages, which can be triggered by malicious guest OS users.

How To Fix

Minimum fixed version

4.12.4-r0

This is the first release that contains the fix.

sudo apk add --upgrade xen

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider isolating the affected virtual machines or limiting their access to critical resources until the package can be updated. Additionally, monitor the system for any unusual behavior that may indicate exploitation of this vulnerability.

Conclusion

The Xen package is critical for virtualization, but it has a significant vulnerability that can lead to severe consequences if exploited. It is essential to update to the patched versions to ensure the security and stability of the host OS. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.0, indicating a high severity level.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

Exploitation of this vulnerability can lead to denial of service, data corruption, or privilege escalation on the host OS.

Yes, updating to version 4.12.4-r0 or later for Alpine v3.10, or 4.13.2-r0 for Alpine v3.11 and v3.12, or 4.14.0-r2 for Alpine v3.13 and later will mitigate the risk.

If immediate updates are not possible, consider isolating affected virtual machines and monitoring for unusual behavior as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for xen.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

4.12.4-r0

This is the first release that contains the fix.

sudo apk add --upgrade xen

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback