Memory Leak Vulnerability in QEMU Package Leading to Denial of Service

qemu Updated 02 Oct 2025

Summary

15/03/2017
N/A
Yes i
Medium
6.5

ALPINE-CVE-2017-5552: Memory leak in the virgl_resource_attach_backing function in hw/display/virtio-gpu-3d.c in QEMU (aka Quick Emulator) allows local guest OS users to cause a denial of service (host memory consumption) via a large number o... Affects qemu versions < 2.8.1-r1. Fixed in 2.8.1-r1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

QEMU, also known as Quick Emulator, is an open-source machine emulator and virtualizer that enables users to run multiple operating systems on a single host. It is widely used for virtualization and cloud computing. The package is known for its flexibility and support for various architectures. However, it has a vulnerability that can lead to significant memory consumption, affecting the host system's performance.

Vulnerability Detail

The vulnerability identified as CVE-2017-5552 is a memory leak in the virgl_resource_attach_backing function located in hw/display/virtio-gpu-3d.c. This flaw allows local guest OS users to execute a large number of VIRTIO_GPU_CMD_RESOURCE_ATTACH_BACKING commands, which can result in a denial of service due to excessive host memory consumption. The vulnerability affects multiple versions of the QEMU package across different Alpine Linux releases.

How To Fix

Minimum fixed version

2.8.1-r1

This is the first release that contains the fix.

sudo apk add --upgrade qemu

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can limit the number of VIRTIO_GPU_CMD_RESOURCE_ATTACH_BACKING commands issued by guest OS users to mitigate the impact of this vulnerability until a patch is applied.

Conclusion

In summary, CVE-2017-5552 is a memory leak vulnerability in the QEMU package that can lead to denial of service due to excessive memory consumption. It is crucial to update to the patched versions to mitigate this risk and ensure system stability.

See every vulnerability recorded for qemu →

Share this vulnerability

FAQ

CVE-2017-5552 is a vulnerability in the QEMU package that allows local guest OS users to cause a denial of service by consuming excessive host memory.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

The main consequence of this vulnerability is a denial of service, which can lead to significant performance degradation of the host system due to high memory consumption.

You can update the QEMU package using the command 'apk add qemu@<fixed_version>' in your terminal, replacing <fixed_version> with the appropriate patched version.

The CVSS score of CVE-2017-5552 is 6.5, indicating a moderate level of severity.

How To Fix

Minimum fixed version

2.8.1-r1

This is the first release that contains the fix.

sudo apk add --upgrade qemu

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback