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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 18 Nov 2026 10:00:00 +0000

Type Values Removed Values Added
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.
Title Uninitialized heap disclosure in CONNECT through Will payload length truncation
Weaknesses CWE-200
CWE-908
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-11-18T10:11:28.549Z

Reserved: 2026-11-17T09:04:36.641Z

Link: CVE-2026-130491

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-18T10:16:54.860

Modified: 2026-11-18T10:16:54.860

Link: CVE-2026-130491

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses