Skip to content
NewA calmer, faster ZeroHour

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

oss-security ()
Part of a story covered by 7 sourcesEclipse Mosquitto discloses seven flaws, including pre-auth websocket RCEMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the article

Impact: Uninitialized heap bytes sent in a CONNECT packet

ProductAffected
Eclipse libmosquitto1.5 to 2.0.22 inclusive; 2.1.0 to 2.1.2 inclusive
Analyze CVE-2026-130491 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
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.

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.