SecurityContext

CVE-2021-45934: wolfSSL wolfMQTT - Buffer Overflow

  • Cve: CVE-2021-45934
  • Name: wolfSSL wolfMQTT - Buffer Overflow
  • Description: wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_HandlePacket and MqttClient_WaitType).
  • Impact: Attackers can cause denial of service or execute arbitrary code remotely by sending malicious MQTT packets.
  • Remediation: Update to the latest version of wolfSSL wolfMQTT or apply patches addressing the buffer overflow.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00917
  • Epss percentile: 0.61107
  • Assignee: [email protected]
  • Published at: 2022-01-01T01:15:08Z
  • Age in days: 1788
  • Modified at: 2026-06-17T04:14:16Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-45934
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38146nvd2022-01-01
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/wolfmqtt/OSV-2021-1204.yamlnvd2022-01-01

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/wolfSSL/wolfMQTT/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2Patch, Third Party Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38146Exploit, Issue Tracking, Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/wolfmqtt/OSV-2021-1204.yamlExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
wolfssl:wolfmqtt= 1.9nonvd/v1/products/wolfssl/wolfmqtt

Projects

RepositoryLink kindsIndexedUrl
wolfSSL/wolfMQTTcommityes/v1/repositories/wolfSSL/wolfMQTT

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-01-01
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts