CVE-2017-5957: Buffer Overflow

Published Feb 10, 2017
·
Updated

Stack-based buffer overflow in the vrenddecodesetframebufferstate function in vrenddecode.c in virglrenderer before 926b9b3460a48f6454d8bbe9e44313d86a65447f, as used in Quick Emulator (QEMU), allows a local guest users to cause a denial of service (application crash) via the "nrcbufs" argument.

Other sources

Virgil 3d project, used by Quick Emulator(Qemu) to implement 3D GPU support for the virtio GPU, is vulnerable to an stack buffer overflow issue. It could occur when in vrenddecodesetframebufferstate.

A guest user/process could use this flaw to crash the Qemu process instance resulting DoS.

Upstream patch: --------------- -> https://cgit.freedesktop.org/virglrenderer/commit/?id=926b9b3460a48f6454d8bbe9e44313d86a65447f

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2017/02/13/3

Red Hat

Affected Software

4 affected components
Virglrenderer Project Virglrenderer<0.6.0
Qemu Qemu
All of the following
Virglrenderer Project Virglrenderer<0.6.0
Qemu Qemu

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade virglrenderer to a version that resolves this vulnerability.

    Fixed in 926b9b3460a48f6454d8bbe9e44313d86a65447fPatch Upstream patch
  2. Compensating control

    Mitigate potential denial of service by preventing untrusted guest users/processes from invoking the vulnerable virtio GPU path in Quick Emulator (Qemu) until virglrenderer is patched.

Event History

Feb 10, 2017
Data Sourced
via Red Hat·12:14 PM
DescriptionSeverityAffected Software
Mar 14, 2017
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-5957?

CVE-2017-5957 has been classified as a moderate severity vulnerability due to its potential to cause application crashes.

2

How do I fix CVE-2017-5957?

To fix CVE-2017-5957, update virglrenderer to version 0.6.0 or later, as the vulnerability is resolved in this version.

3

What type of vulnerability is CVE-2017-5957?

CVE-2017-5957 is a stack-based buffer overflow vulnerability.

4

Who is affected by CVE-2017-5957?

Local guest users running affected versions of virglrenderer in QEMU may be impacted by CVE-2017-5957.

5

Can CVE-2017-5957 lead to data loss?

CVE-2017-5957 may lead to denial of service, but it is not specifically noted to cause data loss.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203