# CVE-2021-3638: An out-of-bounds memory access flaw was found in the ATI VGA device emulation of QEMU.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/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.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-03T00:00:00.000Z
- Modified: 2026-06-17T04:05:29.190Z
- Weaknesses: CWE-787
- Assigned by: redhat

## Description

An out-of-bounds memory access flaw was found in the ATI VGA device emulation of QEMU. This flaw occurs in the ati_2d_blt() routine while handling MMIO write operations when the guest provides invalid values for the destination display parameters. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.

(As written by CVE List.)

## Affected

- QEMU: Affects qemu v4.0 to v6.1
- qemu qemu: from 4.0.0 up to 6.1.0
- fedoraproject fedora: 36; 37

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg01682.html> (exploit, mailing-list, patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1979858> (issue-tracking, third-party-advisory)
- <https://ubuntu.com/security/CVE-2021-3638> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220407-0003/> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I7J5IRXJYLELW7D43A75LOWRUE5EU54O/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTVPHLLXJ65BUMFBUUZ35F3J632SLFRK/> (mailing-list, third-party-advisory, vendor-advisory)

## Sources

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

---

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