Uninitialized heap disclosure in CONNECT through Will payload length truncation
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Eclipse FoundationEclipse Mosquitto |
1.5 – 1.6.13→ Not listed 2.0 – 2.0.22→ Not listed 2.1.0 – 2.1.2→ Not listed |
Not listed Not listed Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-130491 mosquitto No fixed version in this record
Original description The description as published by the source.
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.
Source: oss-security (Openwall) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- OSS-SECURITY CVE-2026-130491: Eclipse Mosquitto: Uninitialised heap disclose in CONNECT through Will payload truncation
- web gitlab.eclipse.org
- web openwall.com