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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11404.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "7.22"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"original_tag": "7.22",
"range": [
{
"fixed": "c288ac1f38424ffdd4d2fd5e1893fd4962642db3"
}
],
"source": "REFERENCES_TAG"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "7.22"
}
],
"source": "DESCRIPTION"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-11404.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"50831114506767048543783888818053747140",
"102282831731681611708701943433052444515",
"107165301612598870386716076318560816275",
"226496764404165055021297390712437495944"
],
"threshold": 0.9
},
"id": "CVE-2026-11404-0c53d45a",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/c288ac1f38424ffdd4d2fd5e1893fd4962642db3",
"target": {
"file": "mongoose.h"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"198462346822103079873169023619511485359",
"92796750520037948003411784031139089264",
"249198894191349157440931519126450359726",
"79009763370254885770042584348660902992",
"294142640487653530778936123422655158620",
"47249663673204170220620892589402576701",
"288473947272812043979000637810271025017",
"177543420564534138283955551342384558661"
],
"threshold": 0.9
},
"id": "CVE-2026-11404-4ecccaad",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/c288ac1f38424ffdd4d2fd5e1893fd4962642db3",
"target": {
"file": "mongoose.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "111249714975642113074656497738378119290",
"length": 528
},
"id": "CVE-2026-11404-7fa6d795",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/c288ac1f38424ffdd4d2fd5e1893fd4962642db3",
"target": {
"file": "mongoose.c",
"function": "mg_wakeup"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"50831114506767048543783888818053747140",
"102282831731681611708701943433052444515",
"107165301612598870386716076318560816275",
"226496764404165055021297390712437495944"
],
"threshold": 0.9
},
"id": "CVE-2026-11404-84bc28a8",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/c288ac1f38424ffdd4d2fd5e1893fd4962642db3",
"target": {
"file": "src/bsd.h"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "111249714975642113074656497738378119290",
"length": 528
},
"id": "CVE-2026-11404-add4e76b",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/c288ac1f38424ffdd4d2fd5e1893fd4962642db3",
"target": {
"file": "src/bsd.c",
"function": "mg_wakeup"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"198462346822103079873169023619511485359",
"92796750520037948003411784031139089264",
"249198894191349157440931519126450359726",
"79009763370254885770042584348660902992",
"294142640487653530778936123422655158620",
"47249663673204170220620892589402576701",
"288473947272812043979000637810271025017",
"177543420564534138283955551342384558661"
],
"threshold": 0.9
},
"id": "CVE-2026-11404-dad311d3",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/cesanta/mongoose/commit/c288ac1f38424ffdd4d2fd5e1893fd4962642db3",
"target": {
"file": "src/bsd.c"
}
}
]
"2026-11-05T08:04:50Z"