# CVE-2021-3700: A use-after-free vulnerability was found in usbredir in versions prior to 0.11.0 in the usbredirparserserialize() in usbredirparser/usbredi…

- Severity: Medium 6.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/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.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2022-02-24T18:50:17.000Z
- Modified: 2026-06-17T04:05:35.120Z
- Weaknesses: CWE-416
- Assigned by: redhat

## Description

A use-after-free vulnerability was found in usbredir in versions prior to 0.11.0 in the usbredirparser_serialize() in usbredirparser/usbredirparser.c. This issue occurs when serializing large amounts of buffered write data in the case of a slow or blocked destination.

(As written by CVE List.)

## Affected

- usbredir: usbredir 0.11.0
- spice-space usbredir: before 0.11.0
- redhat enterprise_linux: 6.0; 7.0; 8.0
- fedoraproject fedora: 34
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1992830> (issue-tracking, patch, third-party-advisory)
- <https://gitlab.freedesktop.org/spice/usbredir/-/commit/03c519ff5831ba> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00030.html> (mailing-list, third-party-advisory)

## Sources

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

---

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