# CVE-2024-24474: QEMU before 8.2.0 has an integer underflow, and resultant buffer overflow, via a TI command when an expected non-DMA transfer length is les…

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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): 1.40%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-20T00:00:00.000Z
- Modified: 2026-06-17T07:14:31.170Z
- Weaknesses: CWE-120, CWE-191
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

QEMU before 8.2.0 has an integer underflow, and resultant buffer overflow, via a TI command when an expected non-DMA transfer length is less than the length of the available FIFO data. This occurs in esp_do_nodma in hw/scsi/esp.c because of an underflow of async_len.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- qemu qemu: before 8.2.0

## References

- <https://gitlab.com/qemu-project/qemu/-/issues/1810> (exploit, issue-tracking, vendor-advisory)
- <https://github.com/qemu/qemu/commit/77668e4b9bca03a856c27ba899a2513ddf52bb52> (patch)
- <https://gist.github.com/1047524396/5ce07b9d387095c276b1cd234ae5615e> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240510-0012/> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2024-24474 · Whole record: https://cve.day/CVE-2024-24474.json · Rebuilt by cve.day 2026-11-25T22:58:36.937Z
