CVE-2026-130491
7.5high
Uninitialized heap disclosure in CONNECT through Will payload length truncation
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- eclipse
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Eclipse Foundation Eclipse Mosquitto | from 1.5 up to 1.6.13, from 2.0 up to 2.0.22, from 2.1.0 up to 2.1.2 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-130491 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-130491 changed 2026-11-19 | Public domain |