Double-Free Vulnerability in Xen

xen Updated 02 Oct 2025

Summary

12/09/2017
N/A
Yes i
Medium
5.6

CVE-2017-14317: A domain cleanup issue was discovered in the C xenstore daemon (aka cxenstored) in Xen through 4.9.x. Affects xen versions < 4.9.0-r4. Fixed in 4.9.0-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Xen is an open-source hypervisor that allows multiple operating systems to run on a single host machine. It provides virtualization capabilities and is widely used in cloud computing and virtualization platforms. However, a vulnerability has been discovered in the C xenstore daemon (cxenstored) in Xen versions up to 4.9.x.

Vulnerability Detail

The vulnerability, identified as CVE-2017-14317, is a domain cleanup issue in cxenstored. When shutting down a virtual machine (VM) with a stubdomain, a race condition in cxenstored may lead to a double-free. This can cause the xenstored daemon to crash, resulting in a denial-of-service (DoS) attack on various system components that rely on it, such as domain creation/destruction, ballooning, and device changes.

How To Fix

Minimum fixed version

4.9.0-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

There is no known workaround for this vulnerability. It is essential to apply the provided fix by updating the Xen package to the recommended version.

Conclusion

The double-free vulnerability in cxenstored can lead to a DoS attack on critical components of the Xen virtualization environment. It is crucial to update the Xen package to version 4.9.0-r4 or later to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

Xen is an open-source hypervisor that enables virtualization on a single host machine, allowing multiple operating systems to run concurrently.

Cxenstored is the C xenstore daemon in Xen. It manages the Xenstore, a shared database used for communication between different domains in the Xen virtualization environment.

A double-free vulnerability occurs when a program attempts to free the same memory address twice, potentially leading to memory corruption and crashes.

The vulnerability can result in a denial-of-service (DoS) attack on various system components that rely on the xenstored daemon. This can disrupt domain creation/destruction, ballooning, and device changes, impacting the overall functionality of the Xen virtualization environment.

You can use Vulert's vulnerability monitoring service to check if your system is affected by this vulnerability. Vulert analyzes package manifest files like package-lock.json to provide real-time alerts for open-source vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for xen.

How To Fix

Minimum fixed version

4.9.0-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