Critical Denial of Service Vulnerability in Xen Package

xen Updated 02 Oct 2025

Summary

24/11/2020
N/A
Yes i
High
8.8

ALPINE-CVE-2020-29040: An issue was discovered in Xen through 4.14.x allowing x86 HVM guest OS users to cause a denial of service (stack corruption), cause a data leak, or possibly gain privileges because of an off-by-one error. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Xen is a popular open-source hypervisor that enables the creation and management of virtual machines. It is widely used for server virtualization, allowing multiple operating systems to run concurrently on a single physical machine. The Xen package is known for its performance, scalability, and support for various guest operating systems. However, it has been found to be vulnerable to a specific issue that can lead to severe consequences for users running x86 HVM guest operating systems.

Vulnerability Detail

An issue was discovered in Xen through version 4.14.x, allowing x86 HVM guest OS users to cause a denial of service (stack corruption), lead to data leaks, or potentially gain elevated privileges due to an off-by-one error. This vulnerability stems from an incorrect fix for CVE-2020-27671, which means that the underlying problem was not adequately addressed, leaving systems exposed to exploitation. The CVSS score for this vulnerability is 8.8, indicating a high severity level.

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, users may consider isolating affected guest operating systems or limiting their access to sensitive resources until the package can be updated. However, this does not eliminate the vulnerability and is not a permanent solution.

Conclusion

The vulnerability in the Xen package poses significant risks to users running x86 HVM guest operating systems, including potential denial of service and data leaks. It is crucial to update to the patched versions as soon as possible to mitigate these risks. Users are encouraged to utilize tools like Vulert to monitor their applications for vulnerabilities.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

The vulnerability is an off-by-one error that can lead to stack corruption, data leaks, or privilege escalation for x86 HVM guest OS users.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

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

If immediate updates are not possible, consider isolating affected guest OS or limiting their access to sensitive resources as a temporary workaround.

You can visit Vulert at https://vulert.com, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file.

Related vulnerabilities

Recent vulnerabilities recorded for xen.

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