CVE-2015-5158 Memory corruption in n/a

Medium 5.5 Published Updated

Guest users with specific permissions can crash the QEMU instance via a stack-based buffer overflow in SCSI emulation.

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-2015-5158?

CVE-2015-5158 is a medium-severity memory corruption vulnerability in Qemu Qemu, published on 8 Apr 2016. 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 hw/scsi/scsi-bus.c in QEMU, when built with SCSI-device emulation support, allows guest OS users with CAP_SYS_RAWIO permissions to cause a denial of service (instance crash) via an invalid opcode in a SCSI command descriptor block.

Weakness: CWE-787

Which versions are affected by CVE-2015-5158?

It affects 1 product.

Products include Qemu Qemu.

How do I fix CVE-2015-5158?

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-2015-5158 being exploited?

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

All Qemu Qemu vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-5158, GHSA-gx3q-72jh-pq5j.

Is CVE-2015-5158 in your software?

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

Check your SBOMs for free