Critical Denial of Service Vulnerability in Xen Package

xen Updated 02 Oct 2025

Summary

24/08/2017
N/A
Yes i
High
7.8

ALPINE-CVE-2017-12136: Race condition in the grant table code in Xen 4.6.x through 4.9.x allows local guest OS administrators to cause a denial of service (free list corruption and host crash) or gain privileges on the host via vectors involvi... Affects xen versions < 4.9.0-r1. Fixed in 4.9.0-r1. 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 Your last release was probably never penetration tested 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 enables multiple operating systems to run concurrently on a single physical machine. It is widely used for virtualization in cloud computing environments. The Xen package provides essential functionalities for managing virtual machines, including resource allocation and isolation. However, it has been found to be vulnerable to a race condition that can lead to severe security issues.

Vulnerability Detail

The vulnerability, identified as CVE-2017-12136, arises from a race condition in the grant table code of Xen versions 4.6.x through 4.9.x. This flaw allows local guest OS administrators to exploit the free list handling of maptrack, potentially leading to a denial of service (DoS) through free list corruption, which can crash the host system. Additionally, it poses a risk of privilege escalation, allowing attackers to gain unauthorized access to the host.

How To Fix

Minimum fixed version

4.9.0-r1

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, it is advisable to limit access to the hypervisor and restrict administrative privileges for guest OS administrators until the package can be updated. This can help mitigate the risk of exploitation.

Conclusion

The CVE-2017-12136 vulnerability in the Xen package poses significant risks, including potential denial of service and privilege escalation. Users are strongly advised to update to the patched version to mitigate these risks. Implementing temporary workarounds can provide additional protection until the update is applied.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

CVE-2017-12136 is a vulnerability in the Xen hypervisor that allows local guest OS administrators to cause a denial of service or gain privileges on the host.

The vulnerability affects Xen versions 4.6.x through 4.9.x.

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

The CVSS score for CVE-2017-12136 is 7.8, indicating a high severity level.

If an immediate update is not possible, restrict access to the hypervisor and limit administrative privileges for guest OS administrators as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for xen.

How To Fix

Minimum fixed version

4.9.0-r1

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