CVE-2021-32844
Homebrew vulnerability analysis and mitigation

Overview

CVE-2021-32844 affects hyperkit, a toolkit for embedding hypervisor capabilities. The vulnerability was discovered and reported by Agustin Gianni from the GitHub Security Lab on March 30, 2021, and was fixed on June 24, 2021. The issue involves a null pointer dereference in the vi_pci_write function when handling virtual device configuration writes (GitHub Security Lab).

Technical details

The vulnerability exists in the virtio.c file where the vc_cfgwrite function pointer is called without checking for null. When a device like vtrnd (which is used to supply randomness to the guest) doesn't implement all available operations, calls to virtio handlers must be checked for null. The vulnerable code attempts to dereference the vc_cfgwrite function pointer without validation, leading to a crash in the host system (GitHub Security Lab).

Impact

This vulnerability allows a malicious guest to crash the host, causing a denial of service condition. The issue occurs when a guest triggers specific virtual device configuration writes that lead to a null pointer dereference (GitHub Security Lab).

Mitigation and workarounds

The issue was fixed in commit 451558fe8aaa8b24e02e34106e3bb9fe41d7ad13 by adding a null check before dereferencing the vc_cfgwrite function pointer. The fix is a backport of the solution implemented in bhyve (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22861HIGH8.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 13, 2026
CVE-2026-22776HIGH8.7
  • HomebrewHomebrew
  • cpp-httplib
NoYesJan 12, 2026
CVE-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-21283HIGH7.8
  • Adobe BridgeAdobe Bridge
  • bridge
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026

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