Heap-based Buffer Overflow Affecting qemu-img package, versions <10:1.5.3-126.el7_3.6


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.14% (51st 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 IDSNYK-RHEL7-QEMUIMG-4668964
  • published26 Jul 2021
  • disclosed14 Mar 2017

Introduced: 14 Mar 2017

CVE-2016-9603  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:7 qemu-img to version 10:1.5.3-126.el7_3.6 or higher.
This issue was patched in RHSA-2017:0987.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu-img package and not the qemu-img package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

A heap buffer overflow flaw was found in QEMU's Cirrus CLGD 54xx VGA emulator's VNC display driver support before 2.9; the issue could occur when a VNC client attempted to update its display after a VGA operation is performed by a guest. A privileged user/process inside a guest could use this flaw to crash the QEMU process or, potentially, execute arbitrary code on the host with privileges of the QEMU process.