libmosquitto leaks uninitialized heap in CONNECT Will payloads (CVE-2026-130491)
Original title: CVE-2026-130491: Eclipse Mosquitto: Uninitialised heap disclose in CONNECT through Will payload truncation
Will payloads larger than 65535 bytes are not rejected, so uninitialized bytes go out in a malformed CONNECT packet.
Roger Light reported a medium-severity flaw in Eclipse Mosquitto's libmosquitto, CVE-2026-130491, credited to Yifan Xie. If a client sets a Will with mosquitto_will_set*() and the payload exceeds 65535 bytes, the payload is not rejected. A length modulo 65535 of uninitialized bytes is sent in the CONNECT packet, and the packet is malformed. Affected ranges are 1.5 through 2.0.22 and 2.1.0 through 2.1.2; no fix or exploitation status is given.
Unconfirmed: The post does not name a fixed release or say whether the flaw is exploited.
- Severity is medium, posted November 17 by Roger Light.
- Affected builds are 1.5 to 2.0.22 and 2.1.0 to 2.1.2, both inclusive.
- Oversized Will payloads are not rejected by mosquitto_will_set*().
- Yifan Xie is credited for the report.
Impact: Uninitialized heap bytes sent in a CONNECT packet
| Product | Affected |
|---|---|
| Eclipse libmosquitto | 1.5 to 2.0.22 inclusive; 2.1.0 to 2.1.2 inclusive |
- CVEs
- CVE-2026-130491
- Vendors
- Eclipse
- Products
- Mosquittolibmosquitto
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-130491 | Uninitialized heap disclosure in Eclipse libmosquitto Will | — | — |
From the original article
Posted by Roger Light on Nov 17 Severity: Medium Affected versions: 1. 5 to 2. 0.
seclists.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.