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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.004 (31.0th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 31.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-4172: held from 0.004 to 0.004.

EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000

Affected products

  • Qemu — versions 7.0.0
  • Fedoraproject Fedora — versions 37
  • 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.