Skip to content

CVE-2026-11404 Cesanta Mongoose Out-of-Bounds Read in MG_TLS_BUILTIN ClientHello Session ID Parsing

HighCVSS 8.7 EPSS 0.78%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

3 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/mongoose(Ubuntu 26.10) All versions No fix listed No fix yet
cesanta mongoose < 7.22 7.22 Fixed
debian/mongoose(Debian 14) < 7.22+ds-1; = 7.21+ds-1; = 7.21+ds-1~bpo13+1; = 7.21+ds-2 +1 more 7.22+ds-1 Fixed

Affected products

ProductAffected versionsFixed in
cesanta mongoose < 7.22 7.22
debian/mongoose(Debian:14) < 7.22+ds-1 7.22+ds-1
debian/mongoose(Debian:14) = 7.21+ds-1 No fix listed
debian/mongoose(Debian:14) = 7.21+ds-1~bpo13+1 No fix listed
debian/mongoose(Debian:14) = 7.21+ds-2 No fix listed
debian/mongoose(Debian:14) = 7.22+ds-1~bpo13+1 No fix listed
ubuntu/mongoose(Ubuntu:26.10) All versions No fix listed

References