CVE-2026-130491Uninitialized heap disclosure in CONNECT through Will payload length truncation
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mosquitto | Fix pending | UBUNTU-CVE-2026-130491 | |
| Ubuntu 26.04 | mosquitto | Under investigation | UBUNTU-CVE-2026-130491 | |
| Ubuntu 24.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-130491 | |
| Ubuntu 22.04 | mosquitto | Under investigation | UBUNTU-CVE-2026-130491 | |
| Ubuntu 20.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-130491 | |
| Ubuntu 18.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-130491 | |
| Ubuntu 16.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-130491 | |
| Ubuntu 14.04 | mosquitto | Fix pending | UBUNTU-CVE-2026-130491 | |
| Debian 14 | mosquitto | Fix pending | DEBIAN-CVE-2026-130491 | |
| Debian 13 | mosquitto | Fix pending | DEBIAN-CVE-2026-130491 | |
| Debian 12 | mosquitto | Fix pending | DEBIAN-CVE-2026-130491 |
What the vendor says
As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Eclipse Foundation Eclipse Mosquitto: affected: 1.5 to 1.6.13, 2.0 to 2.0.22, 2.1.0 to 2.1.2
References
- https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6hx2-p6j3-qrjg
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/593
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.