cve.bz

CVE-2024-24474 qemu qemu: Classic Buffer Overflow

8.8 highExploit referenceEPSS 1.4%Fix available

High (8.8) in qemu qemu. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-08-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
CWE-191 Integer Underflow (Wrap or Wraparound)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-24474 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-24474?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-24474?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-24474 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemubefore 8.2.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12qemu1:7.2+dfsg-7+deb12u3DEBIAN-CVE-2024-24474
Debian13, 14qemu1:8.2.0+ds-1DEBIAN-CVE-2024-24474
Ubuntu22.04:LTSqemu1:6.2+dfsg-2ubuntu6.22UBUNTU-CVE-2024-24474 USN-6954-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moreqemu6.2.0-150400.37.29.1SUSE-SU-2024:1394-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Package Hub 15 SP5 and 1 moreqemu7.1.0-150500.49.12.1SUSE-SU-2024:1103-1
openSUSELeap 15.5qemu7.1.0-150500.49.12.1SUSE-SU-2024:1103-1
openSUSELeap Micro 5.3, Leap Micro 5.4qemu6.2.0-150400.37.29.1SUSE-SU-2024:1394-1
Azure Linux2qemu6.2.0-20AZL-47784
Alpaquita23qemu9.0.2-r0BELL-CVE-2024-24474
Alpaquitastreamqemu8.2.0-r0BELL-CVE-2024-24474

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The `qemu-kvm` versions, as shipped with Red Hat Enterprise Linux and RHEL Advanced Virtualization, are not affected by this CVE as they did not include support for the am53c974 SCSI controller emulation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 8virt:rhel/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-24474.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON