Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-3255 EUVD-2023-43931GHSA-p5xv-5g6h-qw33

Qemu: vnc: infinite loop in inflate_buffer() leads to denial of service

Published Sep 13, 2023 · Updated Nov 7, 2026 · Assigned by redhat

Description

A flaw was found in the QEMU built-in VNC server while processing ClientCutText messages. A wrong exit condition may lead to an infinite loop when inflating an attacker controlled zlib buffer in the `inflate_buffer` function. This could allow a remote authenticated client who is able to send a clipboard to the VNC server to trigger a denial of service.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization — —

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.

ReleasePackageFixed inAdvisory
Debian 14 qemu 1:8.0.4+dfsg-1 —
Debian 13 qemu 1:8.0.4+dfsg-1 —
Debian 12 qemu 1:7.2+dfsg-7+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS qemu 1:6.2+dfsg-2ubuntu6.16 USN-6567-1
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.28 USN-6567-1
ReleasePackageFixed inAdvisory
RHEL 9 qemu-img +19 17:8.2.0-11.el9_4 RHSA-2024:2135
RHEL 8 SLOF 20210217-2.module+el8.10.0+20141+6faa2812 RHSA-2024:2962
RHEL 8 hivex +6 1.3.18-23.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libguestfs-winsupport 8.10-1.module+el8.10.0+19908+9938c7c9 RHSA-2024:2962
RHEL 8 libiscsi +2 1.18.0-8.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libnbd +6 1.6.0-5.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libtpms +1 0.9.1-2.20211126git1ff6fe1f43.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libvirt +27 8.0.0-23.module+el8.10.0+21023+5962ee04 RHSA-2024:2962
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libvirt-python +1 8.0.0-2.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 nbdkit +18 1.24.0-5.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 netcf +2 0.2.8-12.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 perl-Sys-Virt 8.0.0-1.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 qemu-img +14 15:6.2.0-49.module+el8.10.0+21533+3df3c4b6 RHSA-2024:2962
RHEL 8 seabios +2 1.16.0-4.module+el8.9.0+19570+14a90618 RHSA-2024:2962
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 supermin +1 5.2.1-2.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 swtpm +4 0.7.0-4.20211109gitb79fd91.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 virt-dib +24 1:1.44.0-9.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 virt-v2v +3 1:1.42.0-22.module+el8.9.0+18724+20190c23 RHSA-2024:2962

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 qemu-img +19 17:8.2.0-11.el9_4 ALSA-2024:2135

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 qemu-kvm 7:8.2.0-11.el9_4 RLSA-2024:2135
Rocky Linux 8 hivex 1.3.18-23.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libguestfs 1:1.44.0-9.module+el8.10.0+1590+a67ab969.rocky RLSA-2024:2962
Rocky Linux 8 libguestfs-winsupport 8.10-1.module+el8.10.0+1451+358d0d76 RLSA-2024:2962
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libnbd 1.6.0-5.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libtpms 0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libvirt 8.0.0-23.1.module+el8.10.0+1779+84732956 RLSA-2024:2962
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libvirt-python 8.0.0-2.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 nbdkit 1.24.0-5.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 netcf 0.2.8-12.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 perl-Sys-Virt 8.0.0-1.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 qemu-kvm 5:6.2.0-49.module+el8.10.0+1752+38c6b60a RLSA-2024:2962
Rocky Linux 8 seabios 1.16.0-4.module+el8.9.0+1408+7b966129 RLSA-2024:2962
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 supermin 5.2.1-2.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 swtpm 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 virt-v2v 1:1.42.0-22.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
ReleasePackageFixed inAdvisory
SLES 15 SP5 qemu 7.1.0-150500.49.6.1 SUSE-SU-2023:3082-1
SLES 15 SP4 qemu 6.2.0-150400.37.20.1 SUSE-SU-2023:3234-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.5 qemu 7.1.0-150500.49.6.1 SUSE-SU-2023:3082-2
SLE Micro 5.4 qemu 6.2.0-150400.37.20.1 SUSE-SU-2023:3234-1
SLE Micro 5.3 qemu 6.2.0-150400.37.20.1 SUSE-SU-2023:3234-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed qemu 8.0.3-2.1 openSUSE-SU-2024:13082-1
openSUSE Leap 15.5 qemu 7.1.0-150500.49.6.1 SUSE-SU-2023:3082-1
openSUSE Leap 15.4 qemu 6.2.0-150400.37.20.1 SUSE-SU-2023:3234-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 qemu 6.2.0-150400.37.20.1 SUSE-SU-2023:3234-1
openSUSE Leap Micro 5.3 qemu 6.2.0-150400.37.20.1 SUSE-SU-2023:3234-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 qemu 8.2.0-1 —
Azure Linux 2 (CBL-Mariner) qemu 6.2.0-23 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 qemu-img +18 17:8.2.0-11.el9_4 ELSA-2024-2135
Oracle Linux 8 hivex +4 1.3.18-23.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 libguestfs-winsupport 8.6-1.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 libnbd +4 1.6.0-5.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 libtpms +1 0.9.1-1.20211126git1ff6fe1f43.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 libvirt +27 8.0.0-23.0.1.module+el8.10.0+90308+7c659588 ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 libvirt-client-qemu 9.0.0-3.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 nbdkit +18 1.24.0-4.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 ocaml-hivex +1 1.3.18-23.module+el8.9.0+90075+85334608 ELSA-2024-2962
Oracle Linux 8 ocaml-libguestfs +1 1:1.44.0-9.0.2.module+el8.9.0+90052+d3bf71d8 ELSA-2024-2962
Oracle Linux 8 ocaml-libnbd +1 1.6.0-5.module+el8.9.0+90052+d3bf71d8 ELSA-2024-2962
Oracle Linux 8 perl-Sys-Virt 8.0.0-1.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 python3-libvirt 8.0.0-2.module+el8.9.0+90052+d3bf71d8 ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 qemu-img +14 15:6.2.0-49.module+el8.10.0+90330+d0258130 ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 qemu-virtiofsd 15:7.2.0-5.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 seabios +2 1.16.0-3.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 supermin +1 5.2.1-2.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 swtpm +4 0.7.0-4.20211109gitb79fd91.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 virt-dib +22 1:1.44.0-9.0.1.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855
Oracle Linux 8 virt-v2v +3 1:1.42.0-21.module+el8.8.0+21147+1292344f ELSA-2024-2962, ELSA-2023-12855

Advisories 14

References