{"api_version":"1","generated_at":"2026-04-23T07:00:51+00:00","cve":"CVE-2022-4172","urls":{"html":"https://cve.report/CVE-2022-4172","api":"https://cve.report/api/cve/CVE-2022-4172.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-4172","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-4172"},"summary":{"title":"CVE-2022-4172","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-11-29 18:15:00","updated_at":"2023-11-07 03:57:00"},"problem_types":["CWE-120"],"metrics":[],"references":[{"url":"https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk%40c--e.de/","name":"https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk%40c--e.de/","refsource":"","tags":[],"title":"[PATCH v2] hw/acpi/erst.c: Fix memory handling issues - Christian A. Ehrhardt","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gitlab.com/qemu-project/qemu/-/issues/1268","name":"https://gitlab.com/qemu-project/qemu/-/issues/1268","refsource":"MISC","tags":[],"title":"erst: undefined-behavior in memcpy in write_erst_record (#1268) · Issues · QEMU / QEMU · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/defb7098","name":"https://gitlab.com/qemu-project/qemu/-/commit/defb7098","refsource":"MISC","tags":[],"title":"hw/acpi/erst.c: Fix memory handling issues (defb7098) · Commits · QEMU / QEMU · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/","name":"https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/","refsource":"MISC","tags":[],"title":"[PATCH v2] hw/acpi/erst.c: Fix memory handling issues - Christian A. Ehrhardt","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I7J5IRXJYLELW7D43A75LOWRUE5EU54O/","name":"FEDORA-2022-22b1f8dae2","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: qemu-7.0.0-12.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I7J5IRXJYLELW7D43A75LOWRUE5EU54O/","name":"FEDORA-2022-22b1f8dae2","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: qemu-7.0.0-12.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20230127-0013/","name":"https://security.netapp.com/advisory/ntap-20230127-0013/","refsource":"CONFIRM","tags":[],"title":"CVE-2022-4172 QEMU Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4172","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4172","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"4172","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"4172","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"qemu","cpe5":"qemu","cpe6":"7.0.0","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-4172","qid":"160408","title":"Oracle Enterprise Linux Security Update for qemu (ELSA-2023-12065)"},{"cve":"CVE-2022-4172","qid":"160453","title":"Oracle Enterprise Linux Security Update for virt:kvm_utils (ELSA-2023-12108)"},{"cve":"CVE-2022-4172","qid":"160507","title":"Oracle Enterprise Linux Security Update for virt:kvm_utils2 (ELSA-2023-12195)"},{"cve":"CVE-2022-4172","qid":"160590","title":"Oracle Enterprise Linux Security Update for qemu-kvm (ELSA-2023-2162)"},{"cve":"CVE-2022-4172","qid":"199428","title":"Ubuntu Security Notification for QEMU Vulnerabilities (USN-6167-1)"},{"cve":"CVE-2022-4172","qid":"241416","title":"Red Hat Update for qemu-kvm security (RHSA-2023:2162)"},{"cve":"CVE-2022-4172","qid":"283510","title":"Fedora Security Update for qemu (FEDORA-2022-22b1f8dae2)"},{"cve":"CVE-2022-4172","qid":"941043","title":"AlmaLinux Security Update for qemu-kvm (ALSA-2023:2162)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-4172","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"QEMU (ACPI ERST)","version":{"version_data":[{"version_value":"Affected: 7.0.0, Fixed: 7.2.0-rc0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-120, CWE-190"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/","url":"https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/"},{"refsource":"MISC","name":"https://gitlab.com/qemu-project/qemu/-/issues/1268","url":"https://gitlab.com/qemu-project/qemu/-/issues/1268"},{"refsource":"MISC","name":"https://gitlab.com/qemu-project/qemu/-/commit/defb7098","url":"https://gitlab.com/qemu-project/qemu/-/commit/defb7098"},{"refsource":"FEDORA","name":"FEDORA-2022-22b1f8dae2","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I7J5IRXJYLELW7D43A75LOWRUE5EU54O/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20230127-0013/","url":"https://security.netapp.com/advisory/ntap-20230127-0013/"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2022-11-29 18:15:00","lastModifiedDate":"2023-11-07 03:57:00","problem_types":["CWE-120"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2,"impactScore":4}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:qemu:qemu:7.0.0:-:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}