SecurityFan score 21 · Tier C
CVE-2026-130491: Eclipse Mosquitto: Uninitialised heap disclose in CONNECT through Will payload truncation
The Brief
- CVE-2026-130491 affects Eclipse Mosquitto and concerns uninitialised heap memory disclosure in CONNECT handling.
- The issue is triggered when a client using libmosquitto calls mosquitto_will_set*() with a Will payload larger than 65535 bytes, and the payload is truncated.
- Affected versions are 1.5 to 2.0.22 inclusive and 2.1.0 to 2.1.2 inclusive; the advisory is rated Medium severity.
Why it matters
Developers whose applications use libmosquitto with large Will payloads, or who run affected Mosquitto versions, should check whether they are exposed to this heap disclosure issue.
Who’s affected
- Teams running Eclipse Mosquitto 1.5 to 2.0.22 or 2.1.0 to 2.1.2
- Developers using libmosquitto to set Will messages with payloads over 65535 bytes
What to do
- Check whether you run Mosquitto versions 1.5 to 2.0.22 or 2.1.0 to 2.1.2, or use libmosquitto clients in affected versions.
- Mosquitto 1.5 to 2.0.22
- Mosquitto 2.1.0 to 2.1.2
- CVE-2026-130491
- #mosquitto
- #mqtt
- #security
- #memory-disclosure
- #cve
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…