Vulnerability · medium
CVE-2026-130491: Mosquitto uninitialised heap disclosure in CONNECT
Tier C · Keep an eye on it – Check if you’re affected
Who’s exposed: Clients using libmosquitto setting Will payloads over 65535 bytes
Tier C because: Hits tech teams
Reach
Attack
Damage
Fix
Popular tool
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.
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.
The checklist behind the tier
Checklist · 2 of 10 yes
| Yes | Hits tech teams | Judgment: Mosquitto is an MQTT broker that developers and ops teams run on servers. |
| No | Core infrastructure | Judgment: a single MQTT broker product, not software nearly every team runs. |
| Yes | Popular tool | Judgment: Mosquitto is a widely deployed open-source MQTT broker. |
| No | Exploited in the wild | Open Source Security: advisory describes a Medium-severity flaw; no attacks reported. |
| No | Public exploit | Open Source Security: advisory only describes the flaw; no exploit or PoC mentioned. |
| No | Remote, no login | Open Source Security: flaw triggered by a client setting a large Will payload; no unauthenticated access stated. |
| No | Full takeover | Open Source Security: uninitialised heap disclosure is an information disclosure, not code execution. |
| No | Secrets exposed | Open Source Security: describes heap disclosure risk only; no stolen or exposed data reported. |
| No | Supply chain | Open Source Security: a normal bug in legitimate code; no malicious code shipped. |
| No | No fix yet | Open Source Security: sources do not state whether a fixed version has been released. |
The official record
From CVE.org, CISA’s Known Exploited Vulnerabilities catalog, FIRST EPSS and the GitHub Advisory Database. Where these answer a checklist fact, they win over the reporting.
- Exploited
- Not in CISA’s exploited catalog
Timeline
Source
CVE-2026-130491: Eclipse Mosquitto: Uninitialised heap disclose in CONNECT through Will payload truncation ↗ Open Source Security · 9h ago
First seen · 1 source · Full story page · How tiers are decided