Uninitialized heap disclosure in CONNECT through Will payload length truncation

State
Published
Severity
7.5 High
Published
Nov 18, 2026
Updated
Nov 19, 2026
Reserved
Nov 17, 2026

Read the record on cve.org

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.

ProductVersions
Eclipse Mosquitto Eclipse Foundation1.5 through 1.6.13 Affected2.0 through 2.0.22 Affected2.1.0 through 2.1.2 Affected

Weaknesses

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

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.