An out-of-bounds write flaw was found in the UAS (USB Attached SCSI) device emulation of QEMU in versions 1.5.0-rc0 prior to 6.1.1. The device uses the guest supplied stream number unchecked, which can lead to out-of-bounds access to the "UASDevice->data3" and "UASDevice->status3" fields. A malicious guest user could use this flaw to crash QEMU or potentially achieve code execution with the privileges of the QEMU process on the host.
CWE-787 - Out-of-Bounds Write
Out-of-bounds write vulnerability is a memory access bug that allows software to write data past the end or before the beginning of the intended buffer. This may result in the corruption of data, a crash, or arbitrary code execution.