CVE-2026-141511: Mongoose is an embedded web server and network library
CVE-2026-141511 is a high-severity flaw (CVSS 7.5) affecting mongoose. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 unaut
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.7% (top 45%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2026-12-01 |
| Last modified | 2026-12-03 |
Last updated 2026-12-03 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Research and news
- VulDB Recent Entries: CVE-2026-141511 | Cesanta Mongoose up to 7.21 Mqtt Broker main.c mg_mqtt_next_topic topic_position out-of-bounds 2026-12-01
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-141511?
mongoose: upgrade to 7.22. Exact commands for each OS are on this page.
Is CVE-2026-141511 being exploited?
CVE-2026-141511 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-141511 affect?
CVE-2026-141511 affects mongoose. Severity is high (CVSS 7.5). 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 positi
How urgent is CVE-2026-141511?
Priority 45/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-106024 MEDIUM 6.5 DOWNGRADE Mongoose Embedded Web Server / Networking Library before 7.24 contains a WebSocket fragmentation validation vu
- CVE-2026-141510 MEDIUM 5.9 DOWNGRADE Mongoose is an embedded web server and network library
- CVE-2025-65502 MEDIUM 4.3 UPGRADE Null pointer dereference in add_ca_certs() in Cesanta Mongoose before 7.2 allows remote attackers to cause a d
- CVE-2026-5244 HIGH 7.3 UPGRADE A vulnerability has been found in Cesanta Mongoose up to 7.20
- CVE-2026-6985 MEDIUM 5.3 UPGRADE A weakness has been identified in Cesanta Mongoose up to 7.20