VulnarioBlogQEMU vulnerabilities
QEMU Vulnerabilities: The 10 Most Critical QEMU Security Bugs (CVEs)
QEMU vulnerabilities are security flaws in QEMU that attackers can abuse to steal data, take over a server or interrupt a service. QEMU is the open-source emulator and hypervisor behind KVM virtual machines. The National Vulnerability Database (NVD) lists 419 CVEs for QEMU, 17 of them rated critical, and none were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.
This guide lists the 10 most critical QEMU security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers QEMU security basics and a free way to be told about the next QEMU CVE as soon as it is published.
Key takeaways
- No QEMU CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 17 QEMU CVEs are rated critical (CVSS v3), and 0 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2022-36648, published Aug 22, 2023.
- You can monitor QEMU for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these QEMU CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical QEMU CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2022-36648 | 10.0 Critical | 2023-08-22 | NULL pointer dereference | No |
| 2 | CVE-2017-16845 | 10.0 Critical | 2017-11-17 | Improper input validation | No |
| 3 | CVE-2015-8556 | 10.0 Critical | 2017-03-24 | Privilege escalation | No |
| 4 | CVE-2017-2620 | 9.9 Critical | 2018-07-27 | Out-of-bounds write | No |
| 5 | CVE-2016-9603 | 9.9 Critical | 2018-07-27 | Heap buffer overflow | No |
| 6 | CVE-2009-3616 | 9.9 Critical | 2009-10-23 | Use after free | No |
| 7 | CVE-2019-12928 | 9.8 Critical | 2019-06-24 | OS command injection | No |
| 8 | CVE-2019-12929 | 9.8 Critical | 2019-06-24 | OS command injection | No |
| 9 | CVE-2018-20815 | 9.8 Critical | 2019-05-31 | Memory buffer overflow | No |
| 10 | CVE-2018-17963 | 9.8 Critical | 2018-10-09 | Integer overflow | No |
Each QEMU CVE explained
1. CVE-2022-36648: NULL pointer dereference
- What NVD says
- The hardware emulation in the of_dpa_cmd_add_l2_flood of rocker device model in QEMU, as used in 7.0.0 and earlier, allows remote attackers to crash the host qemu and potentially execute code on the host via execute a malformed program in the guest OS. Note: This has been disputed by multiple third parties as not a valid vulnerability due to the rocker device not falling within the virtualization use case.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 7.0.0
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
2. CVE-2017-16845: Improper input validation
- What NVD says
- hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and availability.
- Affected versions
- up to and including 2.11.2
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
3. CVE-2015-8556: Privilege escalation
- What NVD says
- Local privilege escalation vulnerability in the Gentoo QEMU package before 2.5.0-r1.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 2.4.1
- What to do
- Apply the vendor's security update for your release and restart the service.
4. CVE-2017-2620: Out-of-bounds write
- What NVD says
- Quick emulator (QEMU) before 2.8 built with the Cirrus CLGD 54xx VGA Emulator support is vulnerable to an out-of-bounds access issue. The issue could occur while copying VGA data in cirrus_bitblt_cputovideo. A privileged user inside guest could use this flaw to crash the QEMU process OR potentially execute arbitrary code on host with privileges of the QEMU process.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.8.0
- What to do
- Upgrade to 2.8.0 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2016-9603: Heap buffer overflow
- What NVD says
- A heap buffer overflow flaw was found in QEMU's Cirrus CLGD 54xx VGA emulator's VNC display driver support before 2.9; the issue could occur when a VNC client attempted to update its display after a VGA operation is performed by a guest. A privileged user/process inside a guest could use this flaw to crash the QEMU process or, potentially, execute arbitrary code on the host with privileges of the QEMU process.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 2.9.0
- What to do
- Upgrade to 2.9.0 or a later release, then restart the service.
6. CVE-2009-3616: Use after free
- What NVD says
- Multiple use-after-free vulnerabilities in vnc.c in the VNC server in QEMU 0.10.6 and earlier might allow guest OS users to execute arbitrary code on the host OS by establishing a connection from a VNC client and then (1) disconnecting during data transfer, (2) sending a message using incorrect integer data types, or (3) using the Fuzzy Screen Mode protocol, related to double free vulnerabilities.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 0.10.6
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
7. CVE-2019-12928: OS command injection
- What NVD says
- The QMP migrate command in QEMU version 4.0.0 and earlier is vulnerable to OS command injection, which allows the remote attacker to achieve code execution, denial of service, or information disclosure by sending a crafted QMP command to the listening server. Note: This has been disputed as a non-issue since QEMU's -qmp interface is meant to be used by trusted users.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 4.0.0
- What to do
- Apply the vendor's security update for your release and restart the service.
8. CVE-2019-12929: OS command injection
- What NVD says
- The QMP guest_exec command in QEMU 4.0.0 and earlier is prone to OS command injection, which allows the attacker to achieve code execution, denial of service, or information disclosure by sending a crafted QMP command to the listening server. Note: This has been disputed as a non-issue since QEMU's -qmp interface is meant to be used by trusted users.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 4.0.0
- What to do
- Apply the vendor's security update for your release and restart the service.
9. CVE-2018-20815: Memory buffer overflow
- What NVD says
- In QEMU 3.1.0, load_device_tree in device_tree.c calls the deprecated load_image function, which has a buffer overflow risk.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.1.0
- What to do
- Apply the vendor's security update for your release and restart the service.
10. CVE-2018-17963: Integer overflow
- What NVD says
- qemu_deliver_packet_iov in net/net.c in Qemu accepts packet sizes greater than INT_MAX, which allows attackers to cause a denial of service or possibly have unspecified other impact.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- up to and including 3.0.0; 3.1.0
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
How to check if your QEMU is vulnerable
Find the exact version first, then compare it with the affected and fixed versions in each CVE above.
qemu-system-x86_64 --version
On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.
QEMU security checklist
- Isolate the management network from the public internet.
- Patch the hypervisor and management components promptly.
- Limit administrator access and use multi-factor authentication.
- Keep backups or snapshots stored outside the host.
- Monitor for unexpected virtual machines and configuration changes.
Where you run QEMU matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating QEMU: on most plans the operating system and applications are yours to patch unless the plan says otherwise.
Your stack is bigger than QEMU. A flaw anywhere in the chain can be the way in, so also review our guides to Proxmox VE vulnerabilities, Linux Kernel vulnerabilities and OpenStack vulnerabilities.
How to get alerted about new QEMU vulnerabilities
NVD received 0 new QEMU CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose QEMU and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run QEMU alone. These guides cover the technologies it is most often deployed with.
- Proxmox VE vulnerabilities: Proxmox VE is an open-source virtualization platform based on KVM and LXC.
- Linux Kernel vulnerabilities: The Linux kernel is the core of every Linux distribution.
- OpenStack vulnerabilities: OpenStack is an open-source platform for building private and public clouds.
- VMware ESXi vulnerabilities: VMware ESXi is a bare-metal hypervisor for running virtual machines.
Frequently asked questions about QEMU vulnerabilities
What are the most critical QEMU vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical QEMU CVEs include CVE-2022-36648 (CVSS 10.0), CVE-2017-16845 (CVSS 10.0), CVE-2015-8556 (CVSS 10.0). The guide above ranks the 10 most critical with affected versions and fixes.
Have QEMU vulnerabilities been exploited in real attacks?
For the QEMU product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep QEMU patched.
How many vulnerabilities does QEMU have?
As of Nov 3, 2026 the National Vulnerability Database lists 419 CVEs for QEMU, with 17 rated critical by CVSS v3. 0 were published in the previous twelve months.
How do I check which QEMU version I run?
Run qemu-system-x86_64 --version on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.
How can I get alerted when a new QEMU CVE is published?
Add QEMU to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose QEMU and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is QEMU secure?
QEMU is as secure as its patch level. NVD published 0 new QEMU CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2022-36648?
CVE-2022-36648 is a critical QEMU vulnerability with a CVSS score of 10.0, published Aug 22, 2023. The hardware emulation in the of_dpa_cmd_add_l2_flood of rocker device model in QEMU, as used in 7.0.0 and earlier, allows remote attackers to crash the host qemu and potentially execute code on the host via execute a malformed program in the guest OS.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.