CVE-2026-130491

Description

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.

Statement

This vulnerability is rated as Moderate severity because exploitation requires an application utilizing the libmosquitto client library to explicitly configure an unusually large Last Will message, which limits the attack surface to specific software architectures. Under these non-standard conditions, the client can inadvertently leak fragments of process memory across the network to the receiving message broker. Because the issue only results in read-only information disclosure and cannot be leveraged for remote execution or tampering with client integrity, it does not warrant an Important rating.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.9N/A7.5
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactNoneN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory; Read Application Data

When reusing a resource such as memory or a program variable, the original contents may not have been cleared before it is sent to an untrusted party.

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Instability

The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend, possibly leading to a crash.

Other

Technical Impact: Unexpected State; Varies by Context

The consequences vary depending on the type of resource and how it is used within the product.

Frequently Asked Questions

Want to get errata notifications? Sign up here.