CVE-2022-3872
NixOS vulnerability analysis and mitigation

Overview

An off-by-one read/write vulnerability (CVE-2022-3872) was discovered in the SDHCI device of QEMU versions through 7.1.0:rc4. The vulnerability occurs when reading/writing the Buffer Data Port Register in sdhcireaddataport and sdhciwritedataport functions, specifically when datacount equals blocksize (Debian Security).

Technical details

The vulnerability is related to buffer access in the SDHCI (SD Host Controller Interface) implementation. The issue specifically manifests when accessing the Buffer Data Port Register through the sdhcireaddataport and sdhciwritedataport functions. The condition occurs when the datacount variable equals the blocksize, leading to an off-by-one error in buffer access. The vulnerability has received a CVSS score of 8.6 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H (NetApp Security).

Impact

A successful exploitation of this vulnerability could allow a malicious guest to crash the QEMU process on the host, resulting in a denial of service (DoS) condition (Debian Security).

Mitigation and workarounds

A patch has been proposed to fix the vulnerability by ensuring that datacount is reset if it equals or exceeds blocksize. The fix involves modifying the sdhcibuffaccessissequential function to include this check (QEMU Patch).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management