Vulnerability in Xen Package: CVE-2023-46839

xen Updated 02 Oct 2025

Summary

20/03/2024
N/A
Yes i
Unrated
Not published

CVE-2023-46839: PCI devices can make use of a functionality called phantom functions, that when enabled allows the device to generate requests using the IDs of functions that are otherwise unpopulated. Affects xen versions < 4.16.5-r6. Fixed in 4.16.5-r6. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Xen package is an open-source hypervisor that provides virtualization capabilities for various operating systems. It allows multiple guest operating systems to run on a single host system. The package is widely used in cloud computing environments and virtualization platforms. However, a vulnerability has been discovered in Xen that could potentially lead to the assignment of phantom functions to a different domain, compromising the integrity and security of the primary device.

Vulnerability Detail

The vulnerability (CVE-2023-46839) in Xen involves the use of phantom functions by PCI devices. These phantom functions, when enabled, allow the device to generate requests using unpopulated function IDs, effectively extending the number of outstanding requests. While these phantom functions require an IOMMU context setup, failure to set up the context is not fatal when the device is assigned. This can result in the primary device being assigned to a guest, while some of the phantom functions are assigned to a different domain. This misassignment can lead to potential security breaches and unauthorized access to sensitive data.

How To Fix

Minimum fixed version

4.16.5-r6

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 specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the Xen package (CVE-2023-46839) can lead to the misassignment of phantom functions, potentially compromising the security of the primary device. It is crucial to update the Xen package to the fixed versions mentioned above to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for xen →

Share this vulnerability

FAQ

The vulnerability can result in the misassignment of phantom functions to a different domain, potentially leading to security breaches and unauthorized access to sensitive data.

The vulnerability affects Xen versions prior to 4.16.5-r6 for Alpine:v3.16 and Alpine:v3.17 ecosystems, and prior to 4.17.3-r0 for Alpine:v3.18 ecosystem, and prior to 4.18.0-r3 for Alpine:v3.19 ecosystem.

There is no known exploit available for this vulnerability at the moment.

The recommended mitigation is to update the Xen package to the fixed versions mentioned above.

You can find more information about this vulnerability in the CVE-2023-46839 JSON report available at the following source: https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-46839.json

Related vulnerabilities

Recent vulnerabilities recorded for xen.

How To Fix

Minimum fixed version

4.16.5-r6

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