CVE-2026-11404
JSON

8.7high

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

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
Cesanta Mongoosebefore 7.22CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Cesanta Mongoose anterior a la versión 7.22 contiene una lectura fuera de límites en la función de servidor TLS integrada mg_tls_server_recv_hello(), que utiliza un byte ’session_id_len’ controlado por el atacante de un TLS ClientHello como un índice de búfer sin validarlo contra la longitud de los datos recibidos. Un atacante remoto y no autenticado puede enviar un único ClientHello manipulado con una longitud de ID de sesión excesiva para leer más allá del búfer de recepción, provocando la caída de cualquier servicio HTTPS, MQTTS o WSS construido sobre MG_TLS_BUILTIN.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-11404 changed 2026-11-28CVE Terms of Use
NVDCVE-2026-11404 changed 2026-11-03Public domain