CVE-2026-130491: Uninitialized heap disclosure in CONNECT through Will payload length truncation
CVE-2026-130491 affects 33 listed versions of Eclipse Foundation Mosquitto in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Eclipse Foundation Mosquitto
33 of 42 listed versions are affected. Fixed in 2.1.3, 2.0.23, 1.6.14. The newest release, 2.1.4, is not affected.
2.1.2 2.1.1 2.1.0 2.0.22 2.0.21 2.0.20 2.0.19 2.0.18 2.0.17 2.0.16 2.0.15 2.0.14 2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 1.6.13 1.6.12 1.6.11 1.6.10 1.6.9 1.6.8 1.6.7 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.5.9 1.5.5 1.5.2
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (Eclipse)
Published by Eclipse on 18 November 2026. Last changed 19 November 2026.
Sources
Check one version you run: look CVE-2026-130491 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.