JLSEC-2026-2416: A weakness has been identified in Cesanta Mongoose up to 7.21. Affected by this vulnerability is...
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 7.22Patch a9df523f76f43a38bd53b4232b9cfd4c16869e71
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are exposed to this issue?
The affected code is in the MQTT Broker tutorial at tutorials/mqtt/mqtt-server/main.c. Deployments using that MQTT broker component from Cesanta Mongoose versions up to 7.21 are exposed.
Does exploitation require authentication or local access?
No. The issue can be exploited remotely, and the supplied vector indicates no authentication is required.
Is public exploit information available?
Yes. A public exploit has been made available and could be used in attacks.
What is the recommended remediation?
Upgrade Cesanta Mongoose to version 7.22. The fix is identified as commit a9df523f76f43a38bd53b4232b9cfd4c16869e71.