Denial of Service Vulnerability in Xen Package: CVE-2020-25598

xen Updated 02 Oct 2025

Summary

23/09/2020
N/A
Yes i
Medium
5.5

ALPINE-CVE-2020-25598: An issue was discovered in Xen 4.14.x. Affects xen versions < 4.12.3-r4. Fixed in 4.12.3-r4. 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 an open-source hypervisor that allows multiple operating systems to run concurrently on a single physical machine. It is widely used for virtualization in cloud computing and server environments. The Xen package provides essential functionalities for managing virtual machines, including resource allocation and isolation. However, it has been found to have a vulnerability that can lead to a Denial of Service (DoS) under specific conditions.

Vulnerability Detail

An issue was discovered in Xen 4.14.x where there is a missing unlock in the XENMEM_acquire_resource error path. This flaw in the Read, Copy, Update (RCU) mechanism can lead to an RCU reference being leaked, similar to forgetting to unlock a spinlock. A buggy or malicious HVM stubdomain can exploit this vulnerability, causing subsequent administration operations to livelock, resulting in a host Denial of Service. The vulnerability has been present since Xen 4.12, and while the side effects are believed to be benign on Xen 4.12 and 4.13, patches are provided for these versions as well.

How To Fix

Minimum fixed version

4.12.3-r4

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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patches as soon as possible.

Conclusion

CVE-2020-25598 is a significant vulnerability in the Xen hypervisor that can lead to Denial of Service under specific conditions. It is crucial for users to update their Xen packages to the patched versions to mitigate the risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your systems.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

CVE-2020-25598 is a vulnerability in the Xen hypervisor that can lead to a Denial of Service due to a missing unlock in the error handling path.

Xen versions 4.12, 4.13, and 4.14.x are affected by this vulnerability, with specific patched versions available for each.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities. You can check if your application is affected by using the Vulert playground without any signup.

The vulnerability can cause a Denial of Service, leading to system instability and unavailability of virtual machines managed by the Xen hypervisor.

The CVSS score of CVE-2020-25598 is 5.5, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for xen.

How To Fix

Minimum fixed version

4.12.3-r4

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