CVE-2021-45937
Homebrew vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability was discovered in wolfSSL wolfMQTT version 1.9, identified as CVE-2021-45937. The vulnerability exists in the MqttClientDecodePacket function, which is called from MqttClientWaitType and MqttClient_Connect functions. The issue was disclosed on December 31, 2021 (NVD).

Technical details

The vulnerability is classified as a heap-based buffer overflow with a CVSS v3.1 Base Score of 5.5 (Medium). The attack vector is local (AV:L), with low attack complexity (AC:L), requiring no privileges (PR:N) but user interaction (UI:R). The scope is unchanged (S:U), with no impact on confidentiality (C:N) or integrity (I:N), but high impact on availability (A:H). The vulnerability is tracked as CWE-787 (Out-of-bounds Write) (NVD).

Impact

The vulnerability affects the availability of the system through a heap-based buffer overflow, which could potentially lead to application crashes or denial of service conditions. There is no reported impact on system confidentiality or integrity (NVD).

Mitigation and workarounds

The vulnerability has been patched in a subsequent release. The fix was implemented through a commit that addresses the buffer overflow issue in the MqttClient_DecodePacket function (WolfMQTT Patch). Users are advised to upgrade to the patched version.

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-2025-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
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