{"id":"JLSEC-2026-1257","aliases":["JLSEC-2026-1257"],"related":["CVE-2026-11404","EUVD-2026-42605","GHSA-cvgj-gr8r-q762"],"kind":"vulnerability","state":"published","title":"Cesanta Mongoose before 7.22 contains an out-of-bounds read in the built-in TLS server function...","summary":"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`.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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`.","format":"markdown","source":"jlsec"}],"published":"2026-08-12T07:17:34.116Z","modified":"2026-08-12T07:43:45.656Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Julia Security Advisories","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Julia","package":"Mongoose_jll","purl":"pkg:julia/Mongoose_jll?uuid=0a8a3f5b-4c0e-5906-8e29-5b3fee15539c","source":"jlsec"}],"references":[{"url":"https://github.com/advisories/GHSA-cvgj-gr8r-q762","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/cesanta/mongoose","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/cesanta/mongoose/commit/c288ac1f38424ffdd4d2fd5e1893fd4962642db3","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/cesanta/mongoose/releases/tag/7.22","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11404","tags":["web"],"sources":["jlsec"]},{"url":"https://www.vulncheck.com/advisories/cesanta-mongoose-out-of-bounds-read-in-mg-tls-builtin-clienthello-session-id-parsing","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1257","url":"https://osv.dev/vulnerability/JLSEC-2026-1257","licence":"CC-BY-4.0","modified":"2026-08-12T07:43:45.656Z"}],"updatedAt":"2026-11-25T22:56:25.917Z"}