Critical Out-of-Bounds Access Vulnerability in Xen Package

xen Updated 02 Oct 2025

Summary

31/08/2020
N/A
Yes i
Medium
5.0

ALPINE-CVE-2020-14364: An out-of-bounds read/write access flaw was found in the USB emulator of the QEMU in versions before 5.2.0. Affects xen versions < 4.12.3-r3. Fixed in 4.12.3-r3. 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

The Xen package is an open-source hypervisor that allows multiple operating systems to run on a single physical machine. It is widely used for virtualization in cloud computing and server environments. The package provides features such as isolation, resource management, and performance optimization. However, it is susceptible to vulnerabilities that can compromise the security and stability of the host system.

Vulnerability Detail

An out-of-bounds read/write access flaw was discovered in the USB emulator of QEMU, affecting versions prior to 5.2.0. This vulnerability arises when processing USB packets from a guest, specifically when the 'setup_len' exceeds the allocated 'data_buf[4096]'. This flaw can lead to a denial of service by crashing the QEMU process or potentially allow arbitrary code execution with the privileges of the QEMU process on the host, posing significant security risks.

How To Fix

Minimum fixed version

4.12.3-r3

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 disabling USB emulation in the QEMU configuration to mitigate the risk of exploitation until the package can be updated. This can be done by modifying the QEMU command line options or configuration files to exclude USB devices.

Conclusion

The out-of-bounds access vulnerability in the Xen package poses significant risks to systems running QEMU. It is crucial to update the package to the latest patched version to mitigate these risks. Additionally, utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 5.0, indicating a medium severity level.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploitation of this vulnerability can lead to denial of service or arbitrary code execution, compromising the security of the host system.

Yes, upgrade to version 4.12.3-r3 for Alpine v3.10, 4.13.1-r3 for Alpine v3.11 and v3.12, or 4.13.1-r5 for Alpine v3.13 and later versions.

Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in software using just a manifest file like package-lock.json.

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.3-r3

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