CVE-2026-141511
Mongoose: Out-of-Bounds Read in mg_mqtt_next_topic() Leading to Denial of Service
Description
Mongoose is an embedded web server and network library. Prior to 7.22, the Mongoose MQTT broker tutorial's mg_mqtt_next_topic() function can read two bytes beyond msg->dgram.len when a malformed MQTT SUBSCRIBE packet supplies a topic position that does not leave enough bytes for the topic-length field. Because tutorials/mqtt/mqtt-server/main.c reads that field without validating the complete two-byte access against the datagram boundary, an unauthenticated remote MQTT client can trigger invalid memory access and crash the broker. This issue is fixed in 7.22.
INFO
Published Date :
Dec. 1, 2026, 8:33 p.m.
Last Modified :
Dec. 1, 2026, 8:33 p.m.
Remotely Exploit :
No
Source :
GitHub_M
Solution
- Update Mongoose to version 7.22.
- Apply the patch for the MQTT broker tutorial.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-141511 vulnerability anywhere in the article.