CVE-2019-20382 json
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 2020-03-05 6 y ago modified 2026-06-17 4 mo ago also EUVD-2019-10934
- cvss
- 3.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- qemu Debian 14, Debian 13, Debian 12 1:4.2-1
debian advisories DEBIAN-CVE-2019-20382
- qemu Ubuntu 16.04 LTS 1:2.5+dfsg-5ubuntu10.44
- qemu Ubuntu 18.04 LTS 1:2.11+dfsg-1ubuntu7.26
- qemu Ubuntu Pro 14.04 LTS 2.0.0+dfsg-2ubuntu1.47+esm4
ubuntu advisories UBUNTU-CVE-2019-20382
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- SLOF RHEL 8 20171214-6.gitfa98132.module+el8.1.0+4066+0f1aadab
- hivex RHEL 8 1.3.15-7.module+el8.1.0+4066+0f1aadab
- netcf RHEL 8 0.2.8-12.module+el8.1.0+4066+0f1aadab
- nbdkit RHEL 8 1.4.2-5.module+el8.1.0+4066+0f1aadab
- libvirt RHEL 8 4.5.0-42.module+el8.2.0+6024+15a2423f
- seabios RHEL 8 1.11.1-4.module+el8.1.0+4066+0f1aadab
- sgabios RHEL 8 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab
- libiscsi RHEL 8 1.18.0-8.module+el8.1.0+4066+0f1aadab
red hat advisories RHSA-2020:2774RHSA-2020:4167RHSA-2020:3907RHSA-2020:3906RHSA-2020:3267
- qemu SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 2.11.2-9.36.1
- qemu SLES for SAP 12 SP4, SLES 12 SP4 2.11.2-5.26.1
- qemu SLES for SAP 12 SP5, SLES 12 SP5 3.1.1.1-3.9.1
- qemu SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP1 3.1.1.1-9.14.1
suse advisories SUSE-SU-2020:1523-1SUSE-SU-2020:1501-1SUSE-SU-2020:0845-1SUSE-SU-2020:0844-1
- qemu openSUSE Leap 15.1 3.1.1.1-lp151.7.12.1
- qemu-linux-user openSUSE Leap 15.1 3.1.1.1-lp151.7.12.1
opensuse advisories openSUSE-SU-2020:0468-1
- netcf AlmaLinux 8 0.2.8-12.module_el8.5.0+2608+72063365
- netcf AlmaLinux 8 0.2.8-12.module_el8.6.0+2880+7d9e3703
- netcf AlmaLinux 8 0.2.8-12.module_el8.3.0+2048+e7a0a3ea
- sgabios AlmaLinux 8 1:0.20170427git-3.module_el8.5.0+2608+72063365
- sgabios AlmaLinux 8 1:0.20170427git-3.module_el8.3.0+2048+e7a0a3ea
- libiscsi AlmaLinux 8 1.18.0-8.module_el8.6.0+2880+7d9e3703
- libiscsi AlmaLinux 8 1.18.0-8.module_el8.5.0+2608+72063365
- libiscsi AlmaLinux 8 1.18.0-8.module_el8.3.0+2048+e7a0a3ea
almalinux advisories ALSA-2020:2774
- netcf Rocky Linux 8 0.2.8-12.module+el8.7.0+1084+97b81f61
- netcf Rocky Linux 8 0.2.8-12.module+el8.4.0+534+4680a14e
- netcf Rocky Linux 8 0.2.8-12.module+el8.6.0+847+b490afdd
- sgabios Rocky Linux 8 1:0.20170427git-3.module+el8.7.0+1084+97b81f61
- sgabios Rocky Linux 8 1:0.20170427git-3.module+el8.4.0+534+4680a14e
- sgabios Rocky Linux 8 1:0.20170427git-3.module+el8.6.0+847+b490afdd
- libiscsi Rocky Linux 8 1.18.0-8.module+el8.7.0+1084+97b81f61
- libiscsi Rocky Linux 8 1.18.0-8.module+el8.4.0+534+4680a14e
rocky linux advisories RLSA-2020:2774
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-20382 updated cvss 3.5
QEMU: vnc: memory leakage upon disconnect
-
Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 moreaffected: no fix available
-
Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhevaffected: no fix available “Fix deferred”
-
Red Hat CodeReady Linux Builder (v. 8) hivex 1.3.15-7.module+el8.1.0+4066+0f1aadab, netcf 0.2.8-12.module+el8.1.0+4066+0f1aadab, libvirt 4.5.0-42.module+el8.2.0+6024+15a2423f, seabios 1.11.1-4.module+el8.1.0+4066+0f1aadab, libiscsi 1.18.0-8.module+el8.1.0+4066+0f1aadab, netcf-libs 0.2.8-12.module+el8.1.0+4066+0f1aadab, +34 more Red Hat Enterprise Linux AppStream (v. 8) hivex 1.3.15-7.module+el8.1.0+4066+0f1aadab, nbdkit 1.4.2-5.module+el8.1.0+4066+0f1aadab, netcf 0.2.8-12.module+el8.1.0+4066+0f1aadab, libvirt 4.5.0-42.module+el8.2.0+6024+15a2423f, seabios 1.11.1-4.module+el8.1.0+4066+0f1aadab, libiscsi 1.18.0-8.module+el8.1.0+4066+0f1aadab, +80 morefixed: vendor fix RHSA-2020:2774
-
Red Hat Enterprise Linux Client (v. 7) qemu-img 1.5.3-175.el7, qemu-kvm 1.5.3-175.el7, qemu-kvm-tools 1.5.3-175.el7, qemu-kvm-common 1.5.3-175.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) qemu-img 1.5.3-175.el7, qemu-kvm 1.5.3-175.el7, qemu-kvm-tools 1.5.3-175.el7, qemu-kvm-common 1.5.3-175.el7 Red Hat Enterprise Linux Server (v. 7) qemu-img 1.5.3-175.el7, qemu-kvm 1.5.3-175.el7, qemu-img-ma 2.12.0-48.el7, qemu-kvm-ma 2.12.0-48.el7, qemu-kvm-tools 1.5.3-175.el7, qemu-kvm-common 1.5.3-175.el7, +2 morefixed: vendor fix RHSA-2020:3906
-
Red Hat Enterprise Linux Server Optional (v. 7) qemu-kvm-ma 2.12.0-48.el7, qemu-kvm-tools-ma 2.12.0-48.el7, qemu-kvm-common-ma 2.12.0-48.el7fixed: vendor fix RHSA-2020:3907
-
Red Hat Enterprise Linux Workstation (v. 7) qemu-img 1.5.3-175.el7, qemu-kvm 1.5.3-175.el7, qemu-kvm-tools 1.5.3-175.el7, qemu-kvm-common 1.5.3-175.el7fixed: vendor fix RHSA-2020:3906
-
Red Hat OpenStack Platform 13.0 qemu-img-rhev 2.12.0-48.el7_9.1, qemu-kvm-rhev 2.12.0-48.el7_9.1, qemu-kvm-tools-rhev 2.12.0-48.el7_9.1, qemu-kvm-common-rhev 2.12.0-48.el7_9.1 Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server qemu-img-rhev 2.12.0-18.el7_6.12, qemu-kvm-rhev 2.12.0-18.el7_6.12, qemu-kvm-tools-rhev 2.12.0-18.el7_6.12, qemu-kvm-common-rhev 2.12.0-18.el7_6.12fixed: vendor fix RHSA-2020:4167
-
Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts qemu-img-rhev 2.12.0-48.el7, qemu-kvm-rhev 2.12.0-48.el7, qemu-kvm-tools-rhev 2.12.0-48.el7, qemu-kvm-common-rhev 2.12.0-48.el7 Red Hat RHV-M 4.3 qemu-img-rhev 2.12.0-48.el7, qemu-kvm-rhev 2.12.0-48.el7, qemu-kvm-tools-rhev 2.12.0-48.el7, qemu-kvm-common-rhev 2.12.0-48.el7fixed: vendor fix RHSA-2020:3267
show 1 moreshow fewer
-
Red Hat Enterprise Linux 5 kvm, xen Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.87% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 2.7 | AV:A/AC:L/Au:S/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
References
-
openwall.com
/lists/oss-security/2020/03/05/1
mailing-list, patch, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-04/msg00007.html
vendor-advisory, broken-link, third-party-advisory
-
debian.org
/security/2020/dsa-4665
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4372-1/
vendor-advisory, third-party-advisory
- git.qemu.org /?p=qemu.git%3Ba=commit%3Bh=6bf21f3d83e95bcc4ba35a7a07cc6655e8b010b0
-
lists.debian.org
/debian-lts-announce/2020/07/msg00020.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-20382
- NVD CVE-2019-20382
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.