CVE-2026-141511

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.
CVSS

No CVSS.

Configurations

No configuration.

History

01 Dec 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-01 21:17

Updated : 2026-12-01 21:17


NVD link : CVE-2026-141511

Mitre link : CVE-2026-141511

CVE.ORG link : CVE-2026-141511


JSON object : View

Products Affected

No product.

CWE
CWE-125

Out-of-bounds Read