CVE-2026-141511
HIGH 8.7 UPDATED SOURCE DATASource catalogue and publisher evidence; linked resources have not been executed or independently validated by Vulnpedia.
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.
Severe if exploited (CVSS 8.7); current sources show no confirmed exploitation. Consider exposure and affected versions when prioritizing remediation.
Exploitation likelihood
—EPSS not scored
Impact if exploited
8.7CVSS 4.0 · HIGH · CNA
- ConfidentialityNone
- IntegrityNone
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
- ✓Requirements: No special attack requirements
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-125: : Out-of-bounds Read
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References and research data (JSON) · Change history
References
Technical & other
- https://github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71 CVE record · GitHub_M · Updated 2026-12-01T20:33:57.713Z
- https://github.com/cesanta/mongoose/pull/3611 CVE record · GitHub_M · Updated 2026-12-01T20:33:57.713Z
- https://github.com/cesanta/mongoose/releases/tag/7.22 CVE record · GitHub_M · Updated 2026-12-01T20:33:57.713Z
- https://github.com/cesanta/mongoose/security/advisories/GHSA-94qh-77cf-mpqr CVE record · GitHub_M · Updated 2026-12-01T20:33:57.713Z
Sources: NVD · CVE.org · All sources and attribution · EPSS