Description
A flaw was found in the QXL display device emulation in QEMU. An integer overflow in the cursor_alloc() function can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. This flaw allows a malicious privileged guest user to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | QEMU | qemu-kvm 7.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | qemu | 1:7.0+dfsg-1 | — |
| Debian 13 | qemu | 1:7.0+dfsg-1 | — |
| Debian 12 | qemu | 1:7.0+dfsg-1 | — |
| Debian 11 | qemu | 1:5.2+dfsg-11+deb11u2 | DSA-5133-1 |
| Debian 10 | qemu | 1:3.1+dfsg-8+deb10u9 | DLA-3099-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | qemu | 1:6.2+dfsg-2ubuntu6.2 | USN-5489-1 |
| Ubuntu 20.04 LTS | qemu | 1:4.2-3ubuntu6.23 | USN-5489-1 |
| Ubuntu 18.04 LTS | qemu | 1:2.11+dfsg-1ubuntu7.40 | USN-5489-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | qemu | 1:2.5+dfsg-5ubuntu10.51+esm4 | — |
| Ubuntu Pro 14.04 LTS | qemu | 2.0.0+dfsg-2ubuntu1.47+esm6 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | SLOF | 20200717-1.gite18ddad8.module+el8.4.0+8855+a9e237a9 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | hivex +6 | 1.3.18-21.module+el8.4.0+11609+2eba841a | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | libguestfs-appliance | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | RHSA-2022:5821 |
| RHEL 8 | libguestfs-winsupport | 8.2-2.module+el8.4.0+12717+0b0da9ad | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | libiscsi +2 | 1.18.0-8.module+el8.4.0+8855+a9e237a9 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | libnbd +6 | 1.6.0-5.module+el8.4.0+14155+dec4a5c7 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | libtpms +1 | 0.7.4-4.20201106git2452a24dab.module+el8.4.0+10596+32ba7df3 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | libvirt +29 | 7.0.0-14.8.module+el8.4.0+15255+f7eff4dd | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | libvirt-dbus | 1.3.0-2.module+el8.4.0+8855+a9e237a9 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | nbdkit +18 | 1.24.0-1.module+el8.4.0+9341+96cf2672 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | netcf +2 | 0.2.8-12.module+el8.4.0+8855+a9e237a9 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | perl-Sys-Virt +2 | 7.0.0-1.module+el8.4.0+9469+2eaf72bc | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | python-pyvmomi +1 | 6.7.1-7.module+el8.4.0+8855+a9e237a9 | RHSA-2022:5002 |
| RHEL 8 | qemu-img +14 | 15:5.2.0-16.module+el8.4.0+15200+eac37ce4.17 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | qemu-kvm-hw-usbredir | 15:6.2.0-11.module+el8.6.0+15668+464a1f31.2 | RHSA-2022:5821 |
| RHEL 8 | seabios +2 | 1.14.0-1.module+el8.4.0+8855+a9e237a9 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | sgabios +1 | 1:0.20170427git-3.module+el8.4.0+8855+a9e237a9 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | supermin +1 | 5.2.1-1.module+el8.4.0+9751+d56db353 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | swtpm +3 | 0.4.2-1.20201201git2df14e3.module+el8.4.0+9341+96cf2672 | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | swtpm-tools-pkcs11 | 0.7.0-1.20211109gitb79fd91.module+el8.6.0+14480+c0a3aa0f | RHSA-2022:5821 |
| RHEL 8 | virt-dib +23 | 1:1.44.0-2.module+el8.4.0+10146+75917d2f | RHSA-2022:5821, RHSA-2022:5002 |
| RHEL 8 | virt-v2v +3 | 1:1.42.0-9.module+el8.4.0+9561+069bb9c1 | RHSA-2022:5821, RHSA-2022:5002 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | SLOF | 20210217-1.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | hivex +6 | 1.3.18-23.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | libguestfs-winsupport | 8.6-1.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | libiscsi +2 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | libnbd +6 | 1.6.0-5.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | libtpms +1 | 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | libvirt +27 | 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5 | ALSA-2022:5821 |
| AlmaLinux 8 | libvirt-dbus | 1.3.0-2.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | nbdkit +18 | 1.24.0-4.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | netcf +2 | 0.2.8-12.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | perl-Sys-Virt +1 | 8.0.0-1.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | qemu-img +14 | 15:6.2.0-11.module_el8.6.0+3071+a07c0ea5.2 | ALSA-2022:5821 |
| AlmaLinux 8 | seabios +2 | 1.15.0-2.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | sgabios +1 | 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | supermin +1 | 5.2.1-1.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | swtpm +4 | 0.7.0-1.20211109gitb79fd91.module_el8.6.0+2880+7d9e3703 | ALSA-2022:5821 |
| AlmaLinux 8 | virt-dib +24 | 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma | ALSA-2022:5821 |
| AlmaLinux 8 | virt-v2v +3 | 1:1.42.0-19.module_el8.6.0+3071+a07c0ea5 | ALSA-2022:5821 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | hivex | 1.3.18-23.module+el8.6.0+847+b490afdd | RLSA-2022:5821 |
| Rocky Linux 8 | libguestfs | 1:1.44.0-5.module+el8.6.0+1052+ff61d164.rocky | RLSA-2022:5821 |
| Rocky Linux 8 | libguestfs-winsupport | 8.6-1.module+el8.6.0+847+b490afdd | RLSA-2022:5821 |
| Rocky Linux 8 | libiscsi | 1.18.0-8.module+el8.4.0+534+4680a14e | RLSA-2022:5821 |
| Rocky Linux 8 | libnbd | 1.6.0-5.module+el8.6.0+847+b490afdd | RLSA-2022:5821 |
| Rocky Linux 8 | libtpms | 0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+1052+ff61d164 | RLSA-2022:5821 |
| Rocky Linux 8 | libvirt | 8.0.0-5.2.module+el8.6.0+998+252a5635 | RLSA-2022:5821 |
| Rocky Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.4.0+534+4680a14e | RLSA-2022:5821 |
| Rocky Linux 8 | nbdkit | 1.24.0-4.module+el8.6.0+847+b490afdd | RLSA-2022:5821 |
| Rocky Linux 8 | netcf | 0.2.8-12.module+el8.4.0+534+4680a14e | RLSA-2022:5821 |
| Rocky Linux 8 | perl-Sys-Virt +1 | 8.0.0-1.module+el8.6.0+847+b490afdd | RLSA-2022:5821 |
| Rocky Linux 8 | qemu-kvm | 5:6.2.0-11.module+el8.6.0+1000+18e3b59f.5 | RLSA-2022:5821 |
| Rocky Linux 8 | seabios | 1.15.0-2.module+el8.6.0+1052+ff61d164 | RLSA-2022:5821 |
| Rocky Linux 8 | sgabios | 1:0.20170427git-3.module+el8.4.0+534+4680a14e | RLSA-2022:5821 |
| Rocky Linux 8 | supermin | 5.2.1-1.module+el8.6.0+1052+ff61d164 | RLSA-2022:5821 |
| Rocky Linux 8 | swtpm | 0.7.0-1.20211109gitb79fd91.module+el8.6.0+847+b490afdd | RLSA-2022:5821 |
| Rocky Linux 8 | virt-v2v | 1:1.42.0-19.module+el8.6.0+1052+ff61d164 | RLSA-2022:5821 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | qemu | 6.2.0-150400.37.5.3 | SUSE-SU-2022:2260-1 |
| SLES 15 SP3 | qemu | 5.2.0-150300.115.2 | SUSE-SU-2022:2254-1 |
| SLES 15 SP2 | qemu | 4.2.1-150200.69.1 | SUSE-SU-2022:3594-1 |
| SLES 15 SP1 | qemu | 3.1.1.1-150100.80.43.2 | SUSE-SU-2022:3768-1 |
| SLES 12 SP5 | qemu | 3.1.1.1-66.1 | SUSE-SU-2023:0761-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | qemu | 2.6.2-41.76.1 | SUSE-SU-2023:2358-1 |
| SLES for SAP 15 SP2 | qemu | 4.2.1-150200.69.1 | SUSE-SU-2022:3594-1 |
| SLES for SAP 15 SP1 | qemu | 3.1.1.1-150100.80.43.2 | SUSE-SU-2022:3768-1 |
| SLES for SAP 12 SP5 | qemu | 3.1.1.1-66.1 | SUSE-SU-2023:0761-1 |
| SLE Micro 5.2 | qemu | 5.2.0-150300.115.2 | SUSE-SU-2022:2254-1 |
| SLE Micro 5.1 | qemu | 5.2.0-150300.115.2 | SUSE-SU-2022:2254-1 |
| SLE HPC 15 SP2 | qemu | 4.2.1-150200.69.1 | SUSE-SU-2022:3594-1 |
| SLE HPC 15 SP1 | qemu | 3.1.1.1-150100.80.43.2 | SUSE-SU-2022:3768-1 |
| SUSE Manager Server 4.1 | qemu | 4.2.1-150200.69.1 | SUSE-SU-2022:3594-1 |
| SUSE Manager Retail Branch Server 4.1 | qemu | 4.2.1-150200.69.1 | SUSE-SU-2022:3594-1 |
| SUSE Manager Proxy 4.1 | qemu | 4.2.1-150200.69.1 | SUSE-SU-2022:3594-1 |
| SUSE Enterprise Storage 7 | qemu | 4.2.1-150200.69.1 | SUSE-SU-2022:3594-1 |
| SUSE Enterprise Storage 6 | qemu | 3.1.1.1-150100.80.43.2 | SUSE-SU-2022:3768-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | qemu | 7.0.0-53.1 | openSUSE-SU-2024:12209-1 |
| openSUSE Leap 15.4 | qemu | 4.2.1-150200.69.1 | SUSE-SU-2022:3594-1, SUSE-SU-2022:2260-1 |
| openSUSE Leap 15.4 | qemu-linux-user | 6.2.0-150400.37.5.1 | SUSE-SU-2022:2260-1 |
| openSUSE Leap 15.4 | qemu-testsuite | 6.2.0-150400.37.5.5 | SUSE-SU-2022:2260-1 |
| openSUSE Leap 15.3 | qemu | 3.1.1.1-150100.80.43.2 | SUSE-SU-2022:3768-1, SUSE-SU-2022:3594-1, SUSE-SU-2022:2254-1 |
| openSUSE Leap 15.3 | qemu-linux-user | 5.2.0-150300.115.2 | SUSE-SU-2022:2254-1 |
| openSUSE Leap 15.3 | qemu-testsuite | 5.2.0-150300.115.4 | SUSE-SU-2022:2254-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | qemu +26 | 10:3.1.0-8.amzn2.0.22 | ALAS2-2025-3061 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | qemu | 6.2.0-18 | — |
| Azure Linux 2 (CBL-Mariner) | qemu | 6.2.0-4 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | qemu-img +9 | 30:6.1.1-4.el9 | ELSA-2022-9869 |
| Oracle Linux 8 | hivex +4 | 1.3.18-21.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | libguestfs-winsupport | 8.2-1.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | libiscsi +2 | 1.18.0-8.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | libnbd +3 | 1.2.2-1.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | libtpms +1 | 0.9.1-0.20211126git1ff6fe1f43.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-9862, ELSA-2022-5821 |
| Oracle Linux 8 | libvirt +29 | 5.7.0-34.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | libvirt-wireshark | 7.10.0-2.module+el8.6.0+20842+e9607200 | ELSA-2022-9862, ELSA-2022-5821 |
| Oracle Linux 8 | nbdkit +13 | 1.16.2-4.0.1.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | nbdkit-nbd-plugin +4 | 1.24.0-4.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-9862, ELSA-2022-5821 |
| Oracle Linux 8 | netcf +2 | 0.2.8-12.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | ocaml-hivex +1 | 1.3.18-23.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-5821 |
| Oracle Linux 8 | ocaml-libguestfs +2 | 1:1.44.0-5.0.1.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-9862, ELSA-2022-5821 |
| Oracle Linux 8 | ocaml-libnbd +2 | 1.6.0-5.module+el8.6.0+20664+3dcf7c70 | ELSA-2022-9862, ELSA-2022-5821 |
| Oracle Linux 8 | perl-Sys-Virt | 4.5.0-5.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | qemu-img +9 | 15:4.2.1-18.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | qemu-kvm-docs +4 | 15:6.2.0-11.module+el8.6.0+20722+b0f1ae3c.2 | ELSA-2022-5821 |
| Oracle Linux 8 | qemu-virtiofsd | 15:6.1.1-4.module+el8.6.0+20842+e9607200 | ELSA-2022-9862 |
| Oracle Linux 8 | seabios +2 | 1.13.0-2.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | sgabios +1 | 1:0.20170427git-3.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | supermin +1 | 5.1.19-10.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | swtpm +4 | 0.7.0-1.20211109gitb79fd91.module+el8.6.0+20659+3dcf7c70 | ELSA-2022-9862, ELSA-2022-5821 |
| Oracle Linux 8 | virt-dib +23 | 1:1.40.2-28.0.4.module+el8.6.0+20690+93de6acb | ELSA-2022-9862, ELSA-2022-9700, ELSA-2022-5821 |
| Oracle Linux 8 | virt-v2v-man-pages-ja +2 | 1:1.42.0-19.0.1.module+el8.6.0+20722+b0f1ae3c | ELSA-2022-9862, ELSA-2022-5821 |
| Oracle Linux 7 | qemu +12 | 15:4.2.1-18.el7 | ELSA-2022-9669 |
Advisories 22
- ALSA-2022:5821 Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2022-0282 QEMU: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 29, 2026
- RHSA-2022:5821 Red Hat Security Advisory: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2022:5002 Red Hat Security Advisory: virt:av and virt-devel:av security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- USN-5489-1 qemu vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5133-1 qemu - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3099-1 qemu - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:5821 Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2024:12209-1 qemu-7.0.0-53.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0761-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2254-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2260-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2358-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3594-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2025-3061 Important: qemu security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 10, 2025
- SUSE-SU-2022:3768-1 Security update for qemu SUSE / openSUSE Security Updates · May 2, 2025
- NCSC-2024-0339 Kwetsbaarheden verholpen in Microsoft Mariner NCSC-NL (Netherlands) · Aug 13, 2024
- ELSA-2022-9862 Important: kvm_utils2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 13, 2022
- ELSA-2022-9869 Important: qemu-kvm security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 10, 2022
- ELSA-2022-9700 Important: virt:kvm_utils security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 8, 2022
- ELSA-2022-5821 Moderate: virt:ol and virt-devel:ol security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 5, 2022
- ELSA-2022-9669 Important: qemu security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 1, 2022
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2036998
- https://starlabs.sg/advisories/21-4206/
- DSA-5133 vendor-advisory
- GLSA-202208-27 vendor-advisory
- [debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update mailing-list