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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | qemu +1 | 3.1.1.1-lp151.7.12.1 | openSUSE-SU-2020:0468-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | qemu +26 | 10:3.1.0-8.amzn2.0.5 | ALAS2-2020-1562 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- ALSA-2020:2774 Important: virt:rhel security update AlmaLinux Security Advisories · Oct 29, 2026
- USN-7094-1 qemu vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- RHSA-2020:4167 Red Hat Security Advisory: qemu-kvm-rhev security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:3907 Red Hat Security Advisory: qemu-kvm-ma security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:3906 Red Hat Security Advisory: qemu-kvm security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:3267 Red Hat Security Advisory: qemu-kvm-rhev security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2020:2774 Red Hat Security Advisory: virt:rhel security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- USN-4372-1 qemu vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-4665-1 qemu - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2288-1 qemu - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2020:2774 Important: virt:rhel security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2020:0845-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0844-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0468-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1523-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1501-1 Security update for qemu SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2024-1981 QEMU: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Nov 10, 2024
- ALAS2-2020-1562 Important: qemu security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 11, 2020
- ELSA-2020-3906 Low: qemu-kvm security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 6, 2020
- ELSA-2020-2774 Important: virt:ol security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 6, 2020
References
- https://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=6bf21f3d83e95bcc4ba35a7a07cc6655e8b010b0
- http://www.openwall.com/lists/oss-security/2020/03/05/1
- openSUSE-SU-2020:0468 vendor-advisory
- DSA-4665 vendor-advisory
- USN-4372-1 vendor-advisory
- [debian-lts-announce] 20200726 [SECURITY] [DLA 2288-1] qemu security update mailing-list