Buffer overflow in Qemu

CVE-2022-4172

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.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (30.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H.

Affected products

  • Qemu — versions 7.0.0
  • Fedoraproject Fedora — versions 37
  • N/a Qemu (Acpi Erst) — versions Affected: 7.0.0, Fixed: 7.2.0-rc0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-4172?
CVE-2022-4172 is a medium-severity vulnerability in Qemu, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 6.5/10. Published 2022-11-29.
How severe is CVE-2022-4172?
Medium severity. CVSS v3 base score is 6.5 out of 10.