CVE-2026-130491 PUBLISHED

Uninitialized heap disclosure in CONNECT through Will payload length truncation

Assigner: eclipse
Reserved: 17.11.2026 Published: 18.11.2026 Updated: 18.11.2026

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.

Product Status

Vendor Eclipse Foundation
Product Eclipse Mosquitto
Versions Default: unaffected
  • affected from 1.5 to 1.6.13 (incl.)
  • affected from 2.0 to 2.0.22 (incl.)
  • affected from 2.1.0 to 2.1.2 (incl.)

Credits

  • Yifan Xie finder

References

Problem Types

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