CVE-2017-5957 Memory corruption in n/a

Medium 5.5 Published Updated

A local guest user can crash the application via a stack-based buffer overflow in virglrenderer used by QEMU.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5957?

CVE-2017-5957 is a medium-severity memory corruption vulnerability in n/a, published on 14 Mar 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Stack-based buffer overflow in the vrend_decode_set_framebuffer_state function in vrend_decode.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 "nr_cbufs" argument.

Weakness: CWE-787

Which versions are affected by CVE-2017-5957?

It affects 1 product.

Products include Virglrenderer Project Virglrenderer.

How do I fix CVE-2017-5957?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-5957 being exploited?

There is no known exploitation of CVE-2017-5957 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-5957, GHSA-97qh-pwfw-7gj4.

Is CVE-2017-5957 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free