Impact
A stack-based buffer overflow exists in the fn function of tutorials/mqtt/mqtt-server/main.c in Cesanta Mongoose. The overflow can be triggered by maliciously crafted MQTT control packets, allowing the attacker to corrupt the call stack and potentially execute arbitrary code. This weakness is indicated as CWE-119, CWE-121, and CWE-787.
Affected Systems
The vulnerability affects all releases of Cesanta Mongoose up to and including 7.21 that include the MQTT Broker component. Upgrading to version 7.22 or later removes the affected code. The product is Mongoose, an embedded networking library used in IoT devices and applications.
Risk and Exploitability
The CVSS score of 6.9 denotes moderate severity. No EPSS score is available, and the vulnerability is not in the CISA KEV catalog. However, public exploit code exists and the attack can be launched remotely over the network, making the.
OpenCVE Enrichment