# CVE-2021-3713: An out-of-bounds write flaw was found in the UAS (USB Attached SCSI) device emulation of QEMU in versions prior to 6.2.0-rc0.

- Severity: High 7.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 39% of CVEs (2026-11-30)
- Published: 2021-08-25T18:40:48.000Z
- Modified: 2026-06-17T04:05:37.387Z
- Weaknesses: CWE-787
- Assigned by: redhat

## Description

An out-of-bounds write flaw was found in the UAS (USB Attached SCSI) device emulation of QEMU in versions prior to 6.2.0-rc0. 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.

(As written by CVE List.)

## Affected

- QEMU: qemu 6.2.0-rc0
- qemu qemu: up to 6.1.0
- debian debian_linux: 9.0; 10.0; 11.0

## Every score

- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1994640> (issue-tracking, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210923-0006/> (third-party-advisory)
- <https://www.debian.org/security/2021/dsa-4980> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202208-27> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3713](https://www.cve.org/CVERecord?id=CVE-2021-3713), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3713](https://nvd.nist.gov/vuln/detail/CVE-2021-3713), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3713 · Whole record: https://cve.day/CVE-2021-3713.json · Rebuilt by cve.day 2026-11-25T22:58:03.501Z
