oss-sec mailing list archives

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


From: Roger Light <roger () atchoo org>
Date: Tue, 17 Nov 2026 16:59:35 +0000

Severity: Medium

Affected versions:

1.5 to 2.0.22 inclusive
2.1.0 to 2.1.2 inclusive

Description:

If a client using libmosquitto attempts to set a Will message using
mosquitto_will_set*() and the payload is >65535 bytes, the payload
will not be rejected. len mod 65535 uninitialised bytes will be sent
as part of the CONNECT packet, and the packet will be malformed.

Credits: Yifan Xie

References:

https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-6hx2-p6j3-qrjg


Current thread: