CVEfocus › CVE database › CVE-2022-4172

CVE-2022-4172

CVSS 6.5 MediumEPSS 0.4% (higher than 35% of CVEs)Published 2022-11-29Updated 2025-04-14Assigner: redhat

An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the read_erst_record() and write_erst_record() functions. Both issues may allow the guest to overrun the host buffer allocated for the ERST memory device. A malicious guest could use these flaws to crash the QEMU process on the host.

CWE-120

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

41Fixed
1Fix pending
33Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04qemuNot affected
vulnerable_code_not_present
Ubuntu 16.04qemuFix pending
Debian 14qemuFixed1:7.2+dfsg-1DEBIAN-CVE-2022-4172
Debian 13qemuFixed1:7.2+dfsg-1DEBIAN-CVE-2022-4172
Debian 12qemuFixed1:7.2+dfsg-1DEBIAN-CVE-2022-4172
Red Hat Enterprise Linux 9qemu-guest-agentFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-imgFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvmFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-audio-paFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-block-curlFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-block-rbdFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-commonFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-coreFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpuFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-ccwFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-pciFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-vgaFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-device-usb-hostFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-device-usb-redirectFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-docsFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-toolsFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-ui-egl-headlessFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-kvm-ui-openglFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 9qemu-pr-helperFixed17:7.2.0-14.el9_2RHSA-2023:2162
Red Hat Enterprise Linux 8qemu-guest-agentNot affected
Red Hat Enterprise Linux 8qemu-imgNot affected
Red Hat Enterprise Linux 8qemu-kvmNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-curlNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-glusterNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-iscsiNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-rbdNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-sshNot affected
Red Hat Enterprise Linux 8qemu-kvm-commonNot affected
Red Hat Enterprise Linux 8qemu-kvm-coreNot affected
Red Hat Enterprise Linux 8qemu-kvm-docsNot affected
Red Hat Enterprise Linux 8qemu-kvm-hw-usbredirNot affected
Red Hat Enterprise Linux 8qemu-kvm-testsNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-openglNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-spiceNot affected
Red Hat Enterprise Linux 7libcacardNot affected
Red Hat Enterprise Linux 7libcacard-develNot affected
Red Hat Enterprise Linux 7libcacard-toolsNot affected
Red Hat Enterprise Linux 7qemu-guest-agentNot affected
Red Hat Enterprise Linux 7qemu-imgNot affected
Red Hat Enterprise Linux 7qemu-img-maNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-commonNot affected
Red Hat Enterprise Linux 7qemu-kvm-common-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 7qemu-kvm-tools-maNot affected
Red Hat Enterprise Linux 6qemu-guest-agentNot affected
Red Hat Enterprise Linux 6qemu-guest-agent-win32Not affected
Red Hat Enterprise Linux 6qemu-imgNot affected
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 6qemu-kvm-toolsNot affected
AlmaLinux 9qemu-guest-agentFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-imgFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvmFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-audio-paFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-block-curlFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-block-rbdFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-commonFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-coreFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-device-display-virtio-gpuFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-device-display-virtio-gpu-ccwFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-device-display-virtio-gpu-pciFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-device-display-virtio-vgaFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-device-usb-hostFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-device-usb-redirectFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-docsFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-toolsFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-ui-egl-headlessFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-kvm-ui-openglFixed17:7.2.0-14.el9_2ALSA-2023:2162
AlmaLinux 9qemu-pr-helperFixed17:7.2.0-14.el9_2ALSA-2023:2162

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.