CVE-2021-32843
Homebrew vulnerability analysis and mitigation

Overview

HyperKit, a toolkit for embedding hypervisor capabilities in applications, was found to contain a vulnerability in versions 0.20210107 and prior. The vulnerability (CVE-2021-32843) involves a null pointer dereference in the vc_cfgread function pointer within virtio.c, which could be triggered by a malicious guest operating system (GitHub Security Lab).

Technical details

The vulnerability exists in the vi_pci_read function where there is a call to vc_cfgread that does not check for null. The function pointer vc_cfgread is used to read the virtio configuration of a device, which is an operation that the guest performs to initialize the virtio drivers. Not every device implements all available operations, and one such device is vtrnd which is used to supply randomness to the guest. The vulnerability occurs when this unchecked null pointer is dereferenced (GitHub Security Lab).

Impact

When exploited, this vulnerability allows a malicious guest to trigger a crash of the host system, resulting in a denial of service condition. The crash occurs due to the null pointer dereference when attempting to access the unimplemented function (GitHub Security Lab).

Mitigation and workarounds

The issue has been fixed by adding a null check before calling the vc_cfgread function pointer, similar to what is implemented in bhyve. The fix was merged into the main repository through pull request #313 (GitHub PR).

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