cve.bz

CVE-2022-3872 qemu qemu: Off-by-one Error

8.6 highEPSS 1.2%Fix available

High (8.6) in qemu qemu. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.1% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-3872 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3872?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3872?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-3872 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemubefore 7.1.0
qemu:qemu7.1.0
qemu:qemu7.1.0:rc0
qemu:qemu7.1.0:rc1
qemu:qemu7.1.0:rc2
qemu:qemu7.1.0:rc3
qemu:qemu7.1.0:rc4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14qemuno fix listedDEBIAN-CVE-2022-3872
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 4 moreqemuno fix listedUBUNTU-CVE-2022-3872
Ubuntu26.04:LTS, 26.10qemu, qemu-hweno fix listedUBUNTU-CVE-2022-3872
Azure Linux2qemu6.2.0-12AZL-11441
Azure Linux3qemu6.2.0-18AZL-35163

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw does not affect the versions of `qemu-kvm` as shipped with Red Hat Enterprise Linux and RHEL Advanced Virtualization, as they do not include support for SDHCI device emulation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 8virt:rhel/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected
Red Hat OpenStack Platform 13 (Queens)qemu-kvm-rhevNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-3872.

References

Check your stackJSON