CVE-2021-45932
Homebrew vulnerability analysis and mitigation

Overview

wolfSSL wolfMQTT 1.9 contains a heap-based buffer overflow vulnerability in the MqttDecodePublish function (called from MqttClientDecodePacket and MqttClient_HandlePacket). The vulnerability was discovered on September 1, 2021, and was later fixed in a subsequent release (OSS-Fuzz, OSV Report).

Technical details

The vulnerability is a heap-based buffer overflow that occurs when writing 4 bytes beyond the allocated buffer in the MqttDecodePublish function. This function is called through the execution chain of MqttClientDecodePacket and MqttClient_HandlePacket. The issue has been assigned a HIGH severity rating according to the ecosystem-specific severity assessment (OSV Report).

Impact

A successful exploitation of this vulnerability could lead to memory corruption, potentially allowing an attacker to execute arbitrary code or cause the application to crash. The heap buffer overflow could potentially be used to write beyond the intended memory boundaries, which could compromise the system's security (OSV Report).

Mitigation and workarounds

The vulnerability has been fixed in commit 84d4b53122e0fa0280c7872350b89d5777dabbb2 of the wolfMQTT repository. Users are advised to update to a version that includes this fix. The patch addresses the buffer overflow issue in the MqttDecode_Publish function (GitHub Patch).

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