Posted by Roger Light on Nov 17 Severity: Medium Affected versions: 1.5 to 2.0.22 inclusive 2.1.0 to 2.1.2 inclusive Description: If a client using libmosquitto attempts to set a Will message using mosquitto_will_set*() and the payload is >65535 bytes, the payload will not be rejected. len mod 65535
Briefing
Written from the coverage below · deepseek-v4.1-flash
Eclipse Mosquitto's libmosquitto does not reject Will messages with payloads larger than 65,535 bytes; the excess length is truncated and uninitialised heap bytes are included in the CONNECT packet, which is also malformed. The flaw, CVE-2026-130491, is rated medium and affects versions 1.5 through 2.0.22 and 2.1.0 through 2.1.2.
Why it mattersHeap bytes leaked in MQTT CONNECT packets can expose broker or client memory contents to other parties, so unpatched Mosquitto deployments carry a small but real disclosure risk.
ActionUpgrade Eclipse Mosquitto past the affected 1.5–2.0.22 and 2.1.0–2.1.2 ranges, and cap Will payloads at 65,535 bytes.
Coverage
1 article