Buffer overflow in Cesanta Mongoose
CVE-2026-101003
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.005, 40.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cesanta Mongoose — versions 7.0, 7.1, 7.10
Weakness classification (CWE)
References
- VDB-410873 | Cesanta Mongoose MQTT Broker main.c fn stack-based overflow (technical-description, vdb-entry)
- VDB-410873 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- CVE-2026-101003 | CVE Analysis and Report (third-party-advisory)
- Submit #920005 | Cesanta Mongoose 7.20 Stack Buffer Overflow (third-party-advisory)
- github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71 (patch)
- github.com/cesanta/mongoose/releases/tag/7.22 (patch)
- github.com/cesanta/mongoose/ (product)