International
The Morning Dev

Only the news worth knowing

‹
 
C21/100

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

  1. 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
YesHits tech teamsJudgment: Mosquitto is an MQTT broker that developers and ops teams run on servers.
NoCore infrastructureJudgment: a single MQTT broker product, not software nearly every team runs.
YesPopular toolJudgment: Mosquitto is a widely deployed open-source MQTT broker.
NoExploited in the wildOpen Source Security: advisory describes a Medium-severity flaw; no attacks reported.
NoPublic exploitOpen Source Security: advisory only describes the flaw; no exploit or PoC mentioned.
NoRemote, no loginOpen Source Security: flaw triggered by a client setting a large Will payload; no unauthenticated access stated.
NoFull takeoverOpen Source Security: uninitialised heap disclosure is an information disclosure, not code execution.
NoSecrets exposedOpen Source Security: describes heap disclosure risk only; no stolen or exposed data reported.
NoSupply chainOpen Source Security: a normal bug in legitimate code; no malicious code shipped.
NoNo fix yetOpen 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.

Timeline

  1. Vulnerability disclosed on oss-security by Roger Light

  2. Open Source Security

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

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