Bug 2575737 (CVE-2026-130491)

Summary: CVE-2026-130491 mosquitto: mosquitto: Information disclosure via oversized Will message in libmosquitto
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ehelms, jpasqual, juwatts, lblicha, mhulan, ogajduse, osousa, rchan, smallamp, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Mosquitto's libmosquitto client library. When an application configures a Last Will and Testament (Will) message with a payload larger than 65,535 bytes using `mosquitto_will_set()` or `mosquitto_will_set_v5()`, the library fails to reject the oversized message. An attacker able to influence the payload could cause the client to transmit uninitialized heap memory over the network, resulting in information disclosure.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2579716, 2579717    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-18 09:51:29 UTC
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.