cve.bz

CVE-2021-3638 Out-of-bounds Write

6.5 mediumExploit referenceEPSS 0.4%Fix available

Medium (6.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
An out-of-bounds memory access flaw was found in the ATI VGA device emulation of QEMU. This flaw occurs in the ati_2d_blt() routine while handling MMIO write operations when the guest provides invalid values for the destination display parameters. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3638 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3638?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3638?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-2021-3638 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:qemufrom 4.0.0 through 6.1.0
fedoraproject:fedora36
fedoraproject:fedora37

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11qemu1:5.2+dfsg-11+deb11u1DSA-4980-1
Debian12, 13, 14qemu1:6.1+dfsg-6DEBIAN-CVE-2021-3638
Ubuntu20.04:LTSqemu1:4.2-3ubuntu6.28UBUNTU-CVE-2021-3638 USN-6567-1
Ubuntu22.04:LTSqemu1:6.2+dfsg-2ubuntu6.16USN-6567-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 moreqemu5.2.0-150300.127.3SUSE-SU-2023:3444-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2qemu4.2.1-150200.79.1SUSE-SU-2023:3721-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4 and 1 moreqemu6.2.0-150400.37.23.1SUSE-SU-2023:4056-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Server Applications 15 SP5qemu7.1.0-150500.49.9.2SUSE-SU-2023:4662-1
SUSELinux Enterprise Module for Package Hub 15 SP5qemu7.1.0-150500.49.9.2SUSE-SU-2024:0589-1
openSUSELeap 15.4qemu4.2.1-150200.79.1SUSE-SU-2023:3721-1
openSUSELeap 15.4qemu6.2.0-150400.37.23.1SUSE-SU-2023:4056-1
openSUSELeap 15.5qemu7.1.0-150500.49.9.2SUSE-SU-2023:4662-1
Azure Linux2qemu6.2.0-2AZL-8975

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The ATI VGA emulation feature was introduced in QEMU upstream version 4.0.0. This flaw does not affect the versions of `qemu-kvm` as shipped with Red Hat products, as they do not include support for ATI VGA 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 7qemu-kvm-rhevNot affected
Red Hat Enterprise Linux 8virt:rhel/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.3/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected
Red Hat OpenStack Platform 10 (Newton)qemu-kvm-rhevNot affected
Red Hat OpenStack Platform 13 (Queens)qemu-kvm-rhevNot 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-2021-3638.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON