Description

In Eclipse versions 1.5-1.6.13, 2.0.0-2.0.22 and 2.1.0-2.1.2, the client library libmosquitto does not reject Will messages with payloads greater than 65535 bytes when calling `mosquitto_will_set()` or `mosquitto_will_set_v5()`. This results in up to 65535 bytes of uninitialised heap memory being transmitted as the Will. This can be mitigated by only passing payloads with a maximum length of 65535 bytes.

Weaknesses

  • CWE-908 — CWE-908 Use of Uninitialized Resource
  • CWE-200 — CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

Affected products

VendorProductVersions
Eclipse FoundationEclipse Mosquitto1.5 to <=1.6.13 [affected]; 2.0 to <=2.0.22 [affected]; 2.1.0 to <=2.1.2 [affected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 19 Nov 2026 08:05 UTC.