{"schema_version":"1.9.0","id":"CVE-2024-24474","published":"2024-02-20T00:00:00Z","modified":"2026-08-12T12:59:34.462966Z","related":["SUSE-SU-2024:1103-1","SUSE-SU-2024:1394-1"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/qemu/qemu","events":[{"introduced":"0"},{"fixed":"1600b9f46b1bd08b00fe86c46ef6dbb48cbe10d6"},{"fixed":"77668e4b9bca03a856c27ba899a2513ddf52bb52"}],"database_specific":{"cpe":"cpe:2.3:a:qemu:qemu:*:-:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"8.2.0"}],"source":["CPE_RANGE","REFERENCES"]}},{"type":"GIT","repo":"https://gitlab.com/qemu-project/qemu","events":[{"introduced":"0"},{"fixed":"1600b9f46b1bd08b00fe86c46ef6dbb48cbe10d6"}],"database_specific":{"cpe":"cpe:2.3:a:qemu:qemu:*:-:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"8.2.0"}],"source":"CPE_RANGE"}}],"versions":["v8.2.0-rc4","v8.2.0-rc3","v8.2.0-rc2","v8.2.0-rc1","v8.2.0-rc0","v8.1.0","v8.1.0-rc4","v8.1.0-rc3","v8.1.0-rc2","v8.1.0-rc1","v8.1.0-rc0","v8.0.0","v8.0.0-rc4","v8.0.0-rc3","v8.0.0-rc2","v7.2.0","v8.0.0-rc1","v8.0.0-rc0","v7.2.0-rc4","v7.2.0-rc3","v7.2.0-rc2","v7.2.0-rc1","v7.2.0-rc0","v7.1.0","v7.1.0-rc4","v7.1.0-rc3","v7.1.0-rc2","v7.1.0-rc1","v7.1.0-rc0","v7.0.0","v7.0.0-rc4","v7.0.0-rc3","v7.0.0-rc2","v7.0.0-rc1","v7.0.0-rc0","v6.2.0","v6.2.0-rc4","v6.1.0","v6.2.0-rc3","v6.2.0-rc1","v6.2.0-rc0","v6.0.0","v6.1.0-rc4","v6.1.0-rc3","v6.1.0-rc2","v6.1.0-rc1","v6.1.0-rc0","v6.0.0-rc5","v6.0.0-rc4","v6.0.0-rc3","v6.0.0-rc2","v6.0.0-rc1","v6.0.0-rc0","v5.2.0","v5.2.0-rc4","v5.2.0-rc3","v5.2.0-rc2","v5.2.0-rc1","v5.2.0-rc0","v5.0.0","v5.1.0","v5.1.0-rc3","v5.1.0-rc2","v5.1.0-rc1","v5.1.0-rc0","v4.2.0","v5.0.0-rc4","v5.0.0-rc3","v5.0.0-rc2","v5.0.0-rc1","v5.0.0-rc0","v4.2.0-rc5","v4.2.0-rc4","v4.2.0-rc3","v4.2.0-rc2","v4.2.0-rc1","v4.2.0-rc0","v4.1.0","v4.0.0","v4.1.0-rc5","v4.1.0-rc4","v4.1.0-rc3","v4.1.0-rc2","v4.1.0-rc1","v4.1.0-rc0","v4.0.0-rc4","v4.0.0-rc3","v4.0.0-rc2","v4.0.0-rc1","v3.1.0","v4.0.0-rc0","v3.0.0","v3.1.0-rc5","v3.1.0-rc4","v3.1.0-rc3","v3.1.0-rc2","v3.1.0-rc1","v3.1.0-rc0","v3.0.0-rc4","v3.0.0-rc3","v3.0.0-rc2","v3.0.0-rc1","v3.0.0-rc0","v2.12.0","v2.12.0-rc4","v2.12.0-rc3","v2.12.0-rc2","v2.12.0-rc1","v2.12.0-rc0","v2.11.0","v2.11.0-rc5","v2.11.0-rc4","v2.11.0-rc3","v2.11.0-rc2","v2.11.0-rc1","v2.11.0-rc0","v2.10.0","v2.10.0-rc4","v2.10.0-rc3","v2.10.0-rc2","v2.10.0-rc1","v2.9.0","v2.10.0-rc0","v2.9.0-rc5","v2.9.0-rc4","v2.9.0-rc3","v2.9.0-rc2","v2.9.0-rc1","v2.8.0","v2.9.0-rc0","v2.8.0-rc4","v2.8.0-rc3","v2.8.0-rc2","v2.8.0-rc1","v2.8.0-rc0","v2.7.0","v2.7.0-rc5","v2.7.0-rc4","v2.7.0-rc3","v2.7.0-rc2","v2.6.0","v2.7.0-rc1","v2.7.0-rc0","v2.6.0-rc5","v2.6.0-rc4","v2.6.0-rc3","v2.6.0-rc2","v2.6.0-rc1","v2.6.0-rc0","v2.5.0","v2.5.0-rc4","v2.5.0-rc3","v2.5.0-rc2","v2.5.0-rc1","v2.5.0-rc0","v2.4.0","v2.4.0-rc4","v2.4.0-rc3","v2.3.0","v2.4.0-rc2","v2.4.0-rc1","v2.4.0-rc0","v2.3.0-rc4","v2.3.0-rc3","v2.3.0-rc2","v2.3.0-rc1","v2.3.0-rc0","v2.2.0","v2.2.0-rc3","v2.2.0-rc5","v2.2.0-rc4","v2.2.0-rc2","v2.2.0-rc1","v2.2.0-rc0","v2.1.0","v2.1.0-rc5","v2.1.0-rc4","v2.1.0-rc2","v2.1.0-rc3","v2.0.0","v2.1.0-rc1","v2.1.0-rc0","v2.0.0-rc3","v2.0.0-rc2","v2.0.0-rc1","v2.0.0-rc0","v1.7.0","v1.7.0-rc2","v1.7.0-rc1","v1.7.0-rc0","v1.6.0","v1.6.0-rc3","v1.6.0-rc2","v1.6.0-rc1","v1.6.0-rc0","v1.5.0","v1.5.0-rc3","v1.5.0-rc2","v1.5.0-rc1","v1.5.0-rc0","v1.4.0","v1.4.0-rc2","v1.4.0-rc1","v1.4.0-rc0","v1.3.0","v1.3.0-rc2","v1.3.0-rc1","v1.3.0-rc0","v1.2.0","v1.2.0-rc3","v1.2.0-rc2","v1.2.0-rc1","v1.2.0-rc0","v1.1.0","v1.1.0-rc4","v1.1.0-rc3","v1.1.0-rc2","v1.1-rc2","v1.1-rc1","v1.1-rc0","v1.0","v1.0-rc4","v1.0-rc3","v1.0-rc2","v1.0-rc1","v1.0-rc0","v0.14.0-rc0","v0.13.0-rc0","v0.12.0-rc0","v0.11.0-rc0","v0.5.0","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.0","v0.2.0","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-24474.json","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"313434556632100557964674966874116284659","length":1292},"id":"CVE-2024-24474-21ac6013","signature_type":"Function","signature_version":"v1","source":"https://github.com/qemu/qemu/commit/77668e4b9bca03a856c27ba899a2513ddf52bb52","target":{"file":"hw/scsi/esp.c","function":"esp_do_nodma"}},{"deprecated":false,"digest":{"line_hashes":["129997302582071570892692090689245596637","323551469098876647757246510303823415793","28156816571240943432124849330020674131","224242890912468711811369873366595762494"],"threshold":0.9},"id":"CVE-2024-24474-9cc79d4c","signature_type":"Line","signature_version":"v1","source":"https://github.com/qemu/qemu/commit/77668e4b9bca03a856c27ba899a2513ddf52bb52","target":{"file":"hw/scsi/esp.c"}}],"vanir_signatures_modified":"2026-08-12T12:59:34Z"}}],"references":[{"type":"WEB","url":"https://gist.github.com/1047524396/5ce07b9d387095c276b1cd234ae5615e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24474.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24474"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240510-0012/"},{"type":"REPORT","url":"https://gitlab.com/qemu-project/qemu/-/issues/1810"},{"type":"FIX","url":"https://github.com/qemu/qemu/commit/77668e4b9bca03a856c27ba899a2513ddf52bb52"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24474.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}