# CVE-2019-20382: QEMU 4.1.0 has a memory leak in zrlecompressdata in ui/vnc-enc-zrle.c during a VNC disconnect operation because libz is misused, resulting…

- Severity: Low 3.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2020-03-05T18:27:21.000Z
- Modified: 2026-06-17T02:30:19.553Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- qemu qemu: 4.1.0
- opensuse leap: 15.1
- debian debian_linux: 9.0; 10.0
- canonical ubuntu_linux: 16.04; 18.04; 19.10; 20.04

## Every score

- NVD: CVSS:3.1 3.5 Low `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:2.0 2.7 Low `AV:A/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=6bf21f3d83e95bcc4ba35a7a07cc6655e8b010b0>
- <http://www.openwall.com/lists/oss-security/2020/03/05/1> (mailing-list, patch, third-party-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00007.html> (broken-link, third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2020/dsa-4665> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4372-1/> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00020.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2019-20382](https://www.cve.org/CVERecord?id=CVE-2019-20382), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-20382](https://nvd.nist.gov/vuln/detail/CVE-2019-20382), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-20382 · Whole record: https://cve.day/CVE-2019-20382.json · Rebuilt by cve.day 2026-11-25T22:57:49.545Z
