CVE-2020-35506 Use after free in QEMU

Medium 6.7 Published Updated

A privileged guest user can trigger a use-after-free in QEMU's am53c974 emulation, causing host denial of service or code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-35506?

CVE-2020-35506 is a medium-severity use after free vulnerability in Qemu Qemu, published on 28 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A use-after-free vulnerability was found in the am53c974 SCSI host bus adapter emulation of QEMU in versions before 6.0.0 during the handling of the 'Information Transfer' command (CMD_TI). This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service or potential code execution with the privileges of the QEMU process.

Weakness: CWE-416

Which versions are affected by CVE-2020-35506?

It affects 1 product.

Products include Qemu Qemu.

How do I fix CVE-2020-35506?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2020-35506 being exploited?

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

All Qemu Qemu vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-35506, GHSA-qfjc-pj3q-qmpf.

Is CVE-2020-35506 in your software?

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

Check your SBOMs for free