A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values `cursor->header.width` and `cursor->header.height` can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-3099-1 qemu security update
Debian DSA Debian DSA DSA-5133-1 qemu security update
EUVD EUVD EUVD-2021-34065 A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values `cursor->header.width` and `cursor->header.height` can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.
Ubuntu USN Ubuntu USN USN-5489-1 QEMU vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 21 Mar 2025 18:45:00 +0000

Type Values Removed Values Added
References

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-03-21T18:03:41.449Z

Reserved: 2022-01-13T00:00:00.000Z

Link: CVE-2021-4207

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-04-29T17:15:20.100

Modified: 2025-03-21T18:15:28.397

Link: CVE-2021-4207

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-03-28T00:00:00Z

Links: CVE-2021-4207 - Bugzilla

cve-icon OpenCVE Enrichment

No data.