Memory Leak Affecting qemu-project/qemu package, versions [0,4.2.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-QEMUPROJECTQEMU-3007120
  • published26 Jan 2022
  • disclosed5 Mar 2020
  • creditUnknown

Introduced: 5 Mar 2020

CVE-2019-20382  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade qemu-project/qemu to version 4.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Memory Leak. 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.

CVSS Scores

version 3.1