Skip to content
Fencer Vulns
medium 6.5

CVE-2022-4172 json

An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the read_er…

published 2022-11-29 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-51533

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 34%
public exploits
0
none known

Summary

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.

Patch / fix

  • qemu Debian 14, Debian 13, Debian 12 1:7.2+dfsg-1

debian advisories DEBIAN-CVE-2022-4172

  • qemu-kvm RHEL 9 17:7.2.0-14.el9_2
  • qemu-img RHEL 9 17:7.2.0-14.el9_2
  • qemu-kvm-core RHEL 9 17:7.2.0-14.el9_2
  • qemu-kvm-tools RHEL 9 17:7.2.0-14.el9_2
  • qemu-pr-helper RHEL 9 17:7.2.0-14.el9_2
  • qemu-kvm-common RHEL 9 17:7.2.0-14.el9_2
  • qemu-guest-agent RHEL 9 17:7.2.0-14.el9_2
  • qemu-kvm-audio-pa RHEL 9 17:7.2.0-14.el9_2

red hat advisories RHSA-2023:2162

  • qemu openSUSE Tumbleweed 7.1.0-10.1

opensuse advisories openSUSE-SU-2024:12685-1

  • qemu-kvm AlmaLinux 9 17:7.2.0-14.el9_2
  • qemu-img AlmaLinux 9 17:7.2.0-14.el9_2
  • qemu-kvm-core AlmaLinux 9 17:7.2.0-14.el9_2
  • qemu-kvm-tools AlmaLinux 9 17:7.2.0-14.el9_2
  • qemu-pr-helper AlmaLinux 9 17:7.2.0-14.el9_2
  • qemu-kvm-common AlmaLinux 9 17:7.2.0-14.el9_2
  • qemu-guest-agent AlmaLinux 9 17:7.2.0-14.el9_2
  • qemu-kvm-audio-pa AlmaLinux 9 17:7.2.0-14.el9_2

almalinux advisories ALSA-2023:2162

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-4172 updated cvss 6.0

QEMU: ACPI ERST: memory corruption issues in read_erst_record and write_erst_record

  • Red Hat Enterprise Linux AppStream (v. 9) qemu-img 7.2.0-14.el9_2, qemu-kvm 7.2.0-14.el9_2, qemu-kvm-core 7.2.0-14.el9_2, qemu-kvm-tools 7.2.0-14.el9_2, qemu-pr-helper 7.2.0-14.el9_2, qemu-kvm-common 7.2.0-14.el9_2, +12 more
    fixed: vendor fix RHSA-2023:2162
  • Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-img-ma, qemu-kvm-ma, qemu-kvm-tools, +5 more Red Hat Enterprise Linux 8 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, qemu-guest-agent, +8 more Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • gitlab.com https://gitlab.com/qemu-project/qemu/-/issues/1268 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
NVD 3.1 6.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
CNA 3.1 6.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Affected products

  • n/a QEMU (ACPI ERST)

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.