Back

MEDIUM

Cesanta Mongoose MQTT Broker main.c fn stack-based overflow

Published Sep 28, 2026

Description

A weakness has been identified in Cesanta Mongoose up to 7.21. Affected by this vulnerability is the function fn of the file tutorials/mqtt/mqtt-server/main.c of the component MQTT Broker. Executing a manipulation can lead to stack-based buffer overflow. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 7.22 addresses this issue. This patch is called a9df523f76f43a38bd53b4232b9cfd4c16869e71. Upgrading the affected component is advised.

Affected products

Remediation

Red Hat statement

This vulnerability is evaluated as having Moderate impact for Red Hat because, although triggered remotely over network inputs without authentication, the scope of impact is limited to a denial of service crash and targets demonstration code rather than core platform functionality. The flawed broker logic resides within upstream tutorial files that are not deployed or enabled in supported Red Hat products. Any potential risk is confined to specialized community builds where this standalone server example is explicitly compiled and exposed to untrusted traffic.

Metrics

References (11)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner VulDB
Published Sep 28, 2026
Updated Oct 1, 2026
Reserved Sep 27, 2026
CISA Vulnrichment
Updated Oct 1, 2026
NVD
Status Received
Modified Sep 28, 2026
Red Hat
Severity Moderate
Public date Sep 28, 2026