{"schema_version":"1.9.0","id":"CVE-2022-4172","published":"2022-11-29T00:00:00Z","modified":"2026-08-12T03:51:19.216637382Z","related":["ALSA-2023:2162","openSUSE-SU-2024:12685-1"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/qemu/qemu","events":[{"introduced":"823a3f11fb8f04c3c3cc0f95f968fef1bfc6534f"},{"last_affected":"823a3f11fb8f04c3c3cc0f95f968fef1bfc6534f"}],"database_specific":{"cpe":"cpe:2.3:a:qemu:qemu:7.0.0:-:*:*:*:*:*:*","extracted_events":[{"introduced":"7.0.0-NA"},{"last_affected":"7.0.0-NA"}],"source":"CPE_STRING"}}],"versions":["7.0.0-NA","v7.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4172.json"}},{"ranges":[{"type":"GIT","repo":"https://gitlab.com/qemu-project/qemu","events":[{"introduced":"823a3f11fb8f04c3c3cc0f95f968fef1bfc6534f"},{"fixed":"defb7098"}],"database_specific":{"cpe":"cpe:2.3:a:qemu:qemu:7.0.0:-:*:*:*:*:*:*","extracted_events":[{"introduced":"7.0.0-NA"},{"last_affected":"7.0.0-NA"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["7.0.0-NA"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4172.json"}}],"references":[{"type":"WEB","url":"https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk%40c--e.de/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4172.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I7J5IRXJYLELW7D43A75LOWRUE5EU54O/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4172"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230127-0013/"},{"type":"REPORT","url":"https://gitlab.com/qemu-project/qemu/-/issues/1268"},{"type":"FIX","url":"https://gitlab.com/qemu-project/qemu/-/commit/defb7098"}],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-120"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4172.json","unresolved_ranges":[{"extracted_events":[{"introduced":"Affected: 7.0.0, Fixed: 7.2.0-rc0"},{"last_affected":"Affected: 7.0.0, Fixed: 7.2.0-rc0"}],"source":"AFFECTED_FIELD"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"}]}