# CVE-2026-130491: Eclipse Mosquitto: Uninitialised heap disclose in CONNECT through Will payload truncation

Source: [Open Source Security](https://seclists.org/oss-sec/2026/q4/746) · 2026-11-17 · Security
Page: https://themorning.dev/story/cve-2026-130491-eclipse-mosquitto-uninitialised-heap-disclose-in-connect-through-9b9a7ead57adad97
Kind: security · Impact: medium

## In 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.

## 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.

## Versions

- Mosquitto 1.5 to 2.0.22
- Mosquitto 2.1.0 to 2.1.2

## CVEs

- CVE-2026-130491

## Timeline

- 2026-11-17: Vulnerability disclosed on oss-security by Roger Light

## Coverage

- [CVE-2026-130491: Eclipse Mosquitto: Uninitialised heap disclose in CONNECT through Will payload truncation](https://seclists.org/oss-sec/2026/q4/746) — Open Source Security, 2026-11-17

Tags: mosquitto, mqtt, security, memory-disclosure, cve

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
