CVE-2026-141511: cesanta mongoose · Out-of-bounds Read
Affects cesanta mongooseSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 7.22 soon.
Data as of 1 Dec 2026, 21:14 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.7 |
|---|
- Patch
- Available – fixed in 7.22
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade cesanta mongoose to 7.22.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cesantamongoose | Affected
| Fixed in
|
AI-suggested
Upgrade to mongoose version 7.22 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated by the vendor advisory.
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.
References
- github.com/cesanta/mongoose/security/advisories/GHSA-94qh-77cf-mpqr (opens in a new tab)
- github.com/cesanta/mongoose/pull/3611 (opens in a new tab)
- github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71 (opens in a new tab)
- github.com/cesanta/mongoose/releases/tag/7.22 (opens in a new tab)