# CVE-2021-20221: An out-of-bounds heap buffer access issue was found in the ARM Generic Interrupt Controller emulator of QEMU up to and including qemu 4.2.0…

- Severity: Medium 6.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/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.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2021-05-13T15:34:48.000Z
- Modified: 2026-06-17T03:33:29.773Z
- Weaknesses: CWE-125, CWE-787
- Assigned by: redhat

## Description

An out-of-bounds heap buffer access issue was found in the ARM Generic Interrupt Controller emulator of QEMU up to and including qemu 4.2.0on aarch64 platform. The issue occurs because while writing an interrupt ID to the controller memory area, it is not masked to be 4 bits wide. It may lead to the said issue while updating controller state fields and their subsequent processing. A privileged guest user may use this flaw to crash the QEMU process on the host resulting in DoS scenario.

(As written by CVE List.)

## Affected

- qemu: up to, including qemu 4.2.0
- qemu qemu: up to 4.2.0
- redhat enterprise_linux: 8.0
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:L/PR:H/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

- <http://www.openwall.com/lists/oss-security/2021/02/05/1> (mailing-list, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html> (mailing-list, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1924601> (issue-tracking, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210708-0005/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html> (mailing-list, third-party-advisory)

## Sources

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

---

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