Skip to content
OpenAdvisories
Unscored CVE-2019-20382 EUVD-2019-10934GHSA-gg7h-8w45-pgpg

QEMU 4.1.0 has a memory leak in zrle_compress_data in ui/vnc-enc-zrle.c during a VNC disconnect operation because libz is misused, resultin…

Published Mar 5, 2020 · Updated Aug 5, 2024 · Assigned by mitre

Description

QEMU 4.1.0 has a memory leak in zrle_compress_data in ui/vnc-enc-zrle.c during a VNC disconnect operation because libz is misused, resulting in a situation where memory allocated in deflateInit2 is not freed in deflateEnd.

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:4.2-1 —
Debian 13 qemu 1:4.2-1 —
Debian 12 qemu 1:4.2-1 —
Debian 10 qemu 1:3.1+dfsg-8+deb10u5 DSA-4665-1
Debian 9 qemu 1:2.8+dfsg-6+deb9u10 DLA-2288-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS qemu 1:8.2.2+ds-0ubuntu1.4 USN-7094-1
Ubuntu 22.04 LTS qemu 1:6.2+dfsg-2ubuntu6.24 USN-7094-1
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.1 USN-7094-1, USN-4372-1
Ubuntu 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.26 USN-4372-1
Ubuntu 16.04 LTS qemu 1:2.5+dfsg-5ubuntu10.44 USN-4372-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.42+esm2 USN-7094-1
Ubuntu Pro 16.04 LTS qemu 1:2.5+dfsg-5ubuntu10.51+esm3 USN-7094-1
Ubuntu Pro 14.04 LTS qemu 2.0.0+dfsg-2ubuntu1.47+esm4 USN-7094-1
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20171214-6.gitfa98132.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 hivex +6 1.3.15-7.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 libguestfs-winsupport 8.0-4.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 libiscsi +2 1.18.0-8.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 libvirt +27 4.5.0-42.module+el8.2.0+6024+15a2423f RHSA-2020:2774
RHEL 8 libvirt-dbus 1.2.0-3.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 libvirt-python +1 4.5.0-2.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 nbdkit +9 1.4.2-5.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 netcf +2 0.2.8-12.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 perl-Sys-Virt 4.5.0-5.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 qemu-img +10 15:2.12.0-99.module+el8.2.0+6870+55b789b4.2 RHSA-2020:2774
RHEL 8 seabios +2 1.11.1-4.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 supermin +1 5.1.19-9.module+el8.1.0+4066+0f1aadab RHSA-2020:2774
RHEL 8 virt-dib +25 1:1.38.4-15.module+el8.2.0+5297+222a20af RHSA-2020:2774
RHEL 7 qemu-img +3 10:1.5.3-175.el7 RHSA-2020:3906
RHEL 7 qemu-img-ma +7 10:2.12.0-48.el7 RHSA-2020:3907, RHSA-2020:3267
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Manager 4 qemu-img-rhev +3 10:2.12.0-48.el7 RHSA-2020:3267
Red Hat OpenStack 13 qemu-img-rhev +3 10:2.12.0-48.el7_9.1 RHSA-2020:4167

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.3.0+2048+e7a0a3ea ALSA-2020:2774
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.3.0+2048+e7a0a3ea ALSA-2020:2774
AlmaLinux 8 sgabios 1:0.20170427git-3.module_el8.3.0+2048+e7a0a3ea ALSA-2020:2774
AlmaLinux 8 sgabios-bin 1:0.20170427git-3.module_el8.5.0+2608+72063365 ALSA-2020:2774

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.4.0+534+4680a14e RLSA-2020:2774
Rocky Linux 8 netcf 0.2.8-12.module+el8.4.0+534+4680a14e RLSA-2020:2774
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.4.0+534+4680a14e RLSA-2020:2774
ReleasePackageFixed inAdvisory
SLES 15 SP1 qemu 3.1.1.1-9.14.1 SUSE-SU-2020:0844-1
SLES 15 qemu 2.11.2-9.36.1 SUSE-SU-2020:1523-1
SLES 12 SP5 qemu 3.1.1.1-3.9.1 SUSE-SU-2020:0845-1
SLES 12 SP4 qemu 2.11.2-5.26.1 SUSE-SU-2020:1501-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 qemu 2.11.2-9.36.1 SUSE-SU-2020:1523-1
SLES for SAP 12 SP5 qemu 3.1.1.1-3.9.1 SUSE-SU-2020:0845-1
SLES for SAP 12 SP4 qemu 2.11.2-5.26.1 SUSE-SU-2020:1501-1
SLE HPC 15 qemu 2.11.2-9.36.1 SUSE-SU-2020:1523-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 qemu +1 3.1.1.1-lp151.7.12.1 openSUSE-SU-2020:0468-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 qemu +26 10:3.1.0-8.amzn2.0.5 ALAS2-2020-1562

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +6 1.3.15-7.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 libguestfs-winsupport 8.0-4.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 libvirt +27 4.5.0-42.0.1.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 libvirt-dbus 1.2.0-3.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 nbdkit +9 1.4.2-5.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 perl-Sys-Virt 4.5.0-5.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 python3-libvirt 4.5.0-2.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 qemu-img +10 15:2.12.0-99.0.1.module+el8.2.0+7633+22bb8eb4.2 ELSA-2020-2774
Oracle Linux 8 seabios +2 1.11.1-4.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 supermin +1 5.1.19-9.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 8 virt-dib +25 1:1.38.4-15.0.1.module+el8.2.0+5598+5fbb295f ELSA-2020-2774
Oracle Linux 7 qemu-img +3 10:1.5.3-175.el7 ELSA-2020-3906

Advisories 20

References