CVE-2022-3872
CVE-2022-3872 is a high-severity vulnerability in Qemu with a CVSS 3.x base score of 8.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-193.
Key facts
- Severity: High (CVSS 3.x base score 8.6)
- EPSS exploit prediction: 1% (52nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-193
- Affected product: Qemu
- Published:
- Last modified:
Description
An off-by-one read/write issue was found in the SDHCI device of QEMU. It occurs when reading/writing the Buffer Data Port Register in sdhci_read_dataport and sdhci_write_dataport, respectively, if data_count == block_size. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.
Frequently asked questions
- What is CVE-2022-3872?
- An off-by-one read/write issue was found in the SDHCI device of QEMU. It occurs when reading/writing the Buffer Data Port Register in sdhci_read_dataport and sdhci_write_dataport, respectively, if data_count == block_size. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition.
- How severe is CVE-2022-3872?
- CVE-2022-3872 has a CVSS 3.x base score of 8.6, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2022-3872 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (52nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-3872?
- CVE-2022-3872 primarily affects Qemu. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-3872?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-3872 published?
- CVE-2022-3872 was published on 2022-11-07 and last updated on 2026-06-17.
References
- https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg01068.html
- https://security.netapp.com/advisory/ntap-20221215-0005/
Affected products (7)
- cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:7.1.0:-:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:7.1.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:7.1.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:7.1.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:7.1.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:7.1.0:rc4:*:*:*:*:*:*
More vulnerabilities in Qemu
- CVE-2022-36648 — Critical (CVSS 10.0): The hardware emulation in the of_dpa_cmd_add_l2_flood of rocker device model in QEMU, as used in 7.0.0 and earlier,…
- CVE-2017-16845 — Critical (CVSS 10.0): hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds…
- CVE-2015-8556 — Critical (CVSS 10.0): Local privilege escalation vulnerability in the Gentoo QEMU package before 2.5.0-r1.
- CVE-2009-3616 — Critical (CVSS 9.9): Multiple use-after-free vulnerabilities in vnc.c in the VNC server in QEMU 0.10.6 and earlier might allow guest OS…
- CVE-2019-12929 — Critical (CVSS 9.8): The QMP guest_exec command in QEMU 4.0.0 and earlier is prone to OS command injection, which allows the attacker to…
- CVE-2019-12928 — Critical (CVSS 9.8): The QMP migrate command in QEMU version 4.0.0 and earlier is vulnerable to OS command injection, which allows the…
Other CWE-193 (Off-by-one Error) vulnerabilities
- CVE-2024-10442 — Critical (CVSS 10.0): Off-by-one error vulnerability in the transmission component in Synology Replication Service before 1.0.12-0066,…
- CVE-2026-53309 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: ocfs2/dlm: fix off-by-one in dlm_match_regions()…
- CVE-2024-38441 — Critical (CVSS 9.8): Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[len] to…
- CVE-2023-46853 — Critical (CVSS 9.8): In Memcached before 1.6.22, an off-by-one error exists when processing proxy requests in proxy mode, if \n is used…
- CVE-2023-38429 — Critical (CVSS 9.8): An issue was discovered in the Linux kernel before 6.3.4. fs/ksmbd/connection.c in ksmbd has an off-by-one error in…
- CVE-2022-34970 — Critical (CVSS 9.8): Crow before 1.0+4 has a heap-based buffer overflow via the function qs_parse in query_string.h. On successful…