Skip to content
8.7 High

CVE-2026-11404 Cesanta Mongoose before 7.22 contains an out-of-bounds read in the built-in TLS server function…

Description

Cesanta Mongoose before 7.22 contains an out-of-bounds read in the built-in TLS server function mg_tls_server_recv_hello(), which uses an attacker-controlled session_id_len byte from a TLS ClientHello as a buffer index without validating it against the length of received data. A remote, unauthenticated attacker can send a single crafted ClientHello with an oversized session id length to read past the receive buffer, crashing any HTTPS, MQTTS, or WSS service built on MG_TLS_BUILTIN.

Affected products and versions

Product Affected versions Fixed in
Mongoose 7.22 earliest → < 7.22 7.22
The 38 CVEs of Mongoose →
Track this CVE