BreachSpiderVerified, not vibes

CVE-2021-20221 in Debian Linux and 2 more products

Medium 6.0

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...

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.16.0
EPSS0.3%
EPSS percentile18th
FixSee advisory

Requires local access, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 9.0 10.0
Qemu Qemu ≤ 4.2.0
Redhat Enterprise Linux 8.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-20221
BreachSpider IDBS-2021-GLOBAL-240145-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Published2021-05-13
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-125: Out-of-Bounds Read

Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Related attack patterns (CAPEC)

CAPEC-540 Overread Buffers via CWE-125

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

An out-of-bounds heap buffer access vulnerability exists in the ARM Generic Interrupt Controller emulator of QEMU up to and including version 4.2.0 on aarch64 platforms. This issue arises due to improper masking of the interrupt ID to 4 bits, potentially leading to unauthorized memory access and system instability.

The vulnerability can be exploited by a privileged guest OS running on the affected QEMU version. The attacker could craft specific interrupt IDs that exceed the expected 4-bit width, leading to out-of-bounds memory access in the host system's memory space.

Questions

What is CVE-2021-20221?

An out-of-bounds heap buffer access vulnerability exists in the ARM Generic Interrupt Controller emulator of QEMU up to and including version 4.2.0 on aarch64 platforms. This issue arises due to improper masking of the interrupt ID to 4 bits, potentially leading to unauthorized memory access and system instability.

What is the CVSS score for CVE-2021-20221?

CVE-2021-20221 has CVSS 6.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H. EPSS: 0.3%.

Is CVE-2021-20221 actively exploited?

No confirmed active exploitation of CVE-2021-20221 as of 2026-09-25.

How do I remediate CVE-2021-20221?

Priority: MEDIUM. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1924601

What systems are affected by CVE-2021-20221?

CVE-2021-20221 affects Debian Debian Linux; Qemu Qemu; Redhat Enterprise Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.