GHSA-cvgj-gr8r-q762HighCVSS 7.5
Cesanta Mongoose before 7.22 contains an out-of-bounds read in the built-in TLS server function...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-11404
- https://github.com/cesanta/mongoose/commit/c288ac1f38424ffdd4d2fd5e1893fd4962642db3
- https://github.com/cesanta/mongoose
- https://github.com/cesanta/mongoose/releases/tag/7.22
- https://www.vulncheck.com/advisories/cesanta-mongoose-out-of-bounds-read-in-mg-tls-builtin-clienthello-session-id-parsing
- https://github.com/advisories/GHSA-cvgj-gr8r-q762