CVE-2026-141511: Vulnerability in Cesanta Mongoose
Patch soon. 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...
CWE-125
- Exploitation
- None confirmed
- Severity
- 7.5 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness
- CWE-125
- Published
- 1 Dec 2026
- Last change
- 3 Dec 2026
Affected products
Affected versions and the first fixed release
- Cesanta Mongoose Before 7.22; Version < 7.22. Fixed in 7.22
- Automattic Mongoose Before 7.22. Fixed in 7.22
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/cesanta/mongoose/pull/3611
- github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71
- github.com/cesanta/mongoose/releases/tag/7.22
Related
- Mongoose vulnerabilities Recent advisories, watch this product
- Mongoose vulnerabilities Recent advisories, watch this product