synced 10 MIN AGO
01 Record

CVE-2021-4207

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

UnratedPUBLISHEDCNA: redhat
CNA base scoreUnratedNo CNA CVSS vector

02 Description

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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
0.40% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 34.1% of scored records. A rank, not a probability.
NVD base score
8.2 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-04-29 16:07Z4 YR AGO
Last updated
2025-03-21 18:03Z1 YR AGO
Reserved
2022-01-13
Assigning CNA
redhat
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')Class
  • CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')Base
  • CWE-787Out-of-bounds WriteBase
Data version
5.1
Document digest
28af331179f65f7e88d8d30dc9f9f5aa375a970e12184d6304a7703fa43c5634

05 Affected products

VendorProductVersionsPlatforms
n/aQEMUqemu-kvm 7.0.0—

06 References

07 Fixed in

AlmaLinux 8

  • SLOF
    Fixed in 20210217-1.module_el8.6.0+2880+7d9e3703
  • hivex
    Fixed in 1.3.18-23.module_el8.6.0+2880+7d9e3703
  • hivex-devel
    Fixed in 1.3.18-23.module_el8.6.0+2880+7d9e3703
  • libguestfs
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-appliance
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-bash-completion
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-devel
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-gfs2
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-gobject
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-gobject-devel
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-inspect-icons
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-java
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-java-devel
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-javadoc
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-man-pages-ja
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-man-pages-uk
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-rescue
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-rsync
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-tools
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-tools-c
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-winsupport
    Fixed in 8.6-1.module_el8.6.0+2880+7d9e3703
  • libguestfs-xfs
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libiscsi
    Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
  • libiscsi-devel
    Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
  • libiscsi-utils
    Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
  • libnbd
    Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
  • libnbd-bash-completion
    Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
  • libnbd-devel
    Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
  • libtpms
    Fixed in 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703
  • libtpms-devel
    Fixed in 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703
  • libvirt
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-client
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-config-network
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-config-nwfilter
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-interface
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-network
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-nodedev
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-nwfilter
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-qemu
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5

90 further packages in AlmaLinux 8 not shown (first 40 listed).

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • SLOF
    Fixed in 20210217-1.module_el8.6.0+2880+7d9e3703
  • hivex
    Fixed in 1.3.18-23.module_el8.6.0+2880+7d9e3703
  • hivex-devel
    Fixed in 1.3.18-23.module_el8.6.0+2880+7d9e3703
  • libguestfs
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-appliance
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-bash-completion
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-devel
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-gfs2
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-gobject
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-gobject-devel
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-inspect-icons
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-java
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-java-devel
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-javadoc
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-man-pages-ja
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-man-pages-uk
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-rescue
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-rsync
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-tools
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-tools-c
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libguestfs-winsupport
    Fixed in 8.6-1.module_el8.6.0+2880+7d9e3703
  • libguestfs-xfs
    Fixed in 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma
  • libiscsi
    Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
  • libiscsi-devel
    Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
  • libiscsi-utils
    Fixed in 1.18.0-8.module_el8.6.0+2880+7d9e3703
  • libnbd
    Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
  • libnbd-bash-completion
    Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
  • libnbd-devel
    Fixed in 1.6.0-5.module_el8.6.0+2880+7d9e3703
  • libtpms
    Fixed in 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703
  • libtpms-devel
    Fixed in 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703
  • libvirt
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-client
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-config-network
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-config-nwfilter
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-interface
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-network
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-nodedev
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-nwfilter
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5
  • libvirt-daemon-driver-qemu
    Fixed in 8.0.0-5.2.module_el8.6.0+3071+a07c0ea5

90 further packages in CloudLinux 8 not shown (first 40 listed).

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • qemu
    Fixed in 1:7.0+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • qemu
    Fixed in 1:7.0+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • qemu
    Fixed in 1:7.0+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • qemu
    Fixed in 1:2.11+dfsg-1ubuntu7.40

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • qemu
    Fixed in 1:4.2-3ubuntu6.23

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • qemu
    Fixed in 1:6.2+dfsg-2ubuntu6.2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • qemu
    Fixed in 2.0.0+dfsg-2ubuntu1.47+esm6
    Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • qemu
    Fixed in 1:2.5+dfsg-5ubuntu10.51+esm4
    Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.