CVE-2024-45818 in Xen
The hypervisor contains code to accelerate VGA memory accesses for HVM guests, when the (virtual) VGA is in "standard" mode. Locking involved there has an unusual discipline, leaving a lock acquired past the return from the function that acquired it. This behavior results in a problem when emulating an instruction...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Xen | Xen | ≥ 4.6.0, < 4.20.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The hypervisor contains code to accelerate VGA memory accesses for HVM guests, when the (virtual) VGA is in "standard" mode. Locking involved there has an unusual discipline, leaving a lock acquired past the return from the function that acquired it. This behavior results in a problem when emulating an instruction with two memory accesses, both of which touch VGA memory (plus some further constraints which aren't relevant here). When emulating the 2nd access, the lock that is already being held would be attempted to be re-acquired, resulting in a deadlock. This deadlock was already found when the code was first introduced, but was analysed incorrectly and the fix was incomplete. Analysis in light of the new finding cannot find a way to make the existing locking discipline work. In staging, this logic has all been removed because it was discovered to be accidentally disabled since Xen 4.7. Therefore, we are fixing the locking problem by backporting the removal of most of the feature. Note that even with the feature disabled, the lock would still be acquired for any accesses to the VGA MMIO region.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-45818 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-044499-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| Published | 2024-12-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-667: CWE-667
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-667
CAPEC-25 Forced Deadlock via CWE-667
CAPEC-26 Leveraging Race Conditions via CWE-667
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the hypervisor's VGA memory access acceleration code for HVM guests in 'standard' mode due to improper lock management can lead to potential security issues.
The vulnerability arises from a lock being left acquired after the function that acquired it returns. This can cause issues when emulating instructions with multiple memory accesses that involve VGA memory.
Questions
What is CVE-2024-45818?
A vulnerability in the hypervisor's VGA memory access acceleration code for HVM guests in 'standard' mode due to improper lock management can lead to potential security issues.
What is the CVSS score for CVE-2024-45818?
CVE-2024-45818 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N. EPSS: 0.3%.
Is CVE-2024-45818 actively exploited?
No confirmed active exploitation of CVE-2024-45818 as of 2026-09-25.
How do I remediate CVE-2024-45818?
Priority: MEDIUM. Advisory: http://xenbits.xen.org/xsa/advisory-463.html PSIRT: [email protected]
What systems are affected by CVE-2024-45818?
CVE-2024-45818 affects Xen Xen.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Xen","product":"Xen","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.