mongoose — security advisory
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.
- Products
- mongoose
- Affected versions
- 7.21+ds-1, 7.21+ds-1~bpo13+1, 7.21+ds-2, 7.22+ds-1~bpo13+1
- Fixed versions
- 7.22+ds-1
- CVEs
- CVE-2026-11404
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:20 UTC · Revision 2
Source evidence
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.
osv:DEBIAN-CVE-2026-11404
mongoose
Fixed versions: 7.22+ds-1
Complete source record
{
"id": "f98f806d54e76e02850b61d46d55e937e4ee5b9c3f5b7a6ec3c25a58e910b853",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-11404",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-11404",
"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.",
"evidence": "osv:DEBIAN-CVE-2026-11404",
"products": [
{
"name": {
"value": "mongoose",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.22+ds-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "7.21+ds-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.21+ds-1~bpo13+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.21+ds-2",
"evidence": "/affected/0/versions"
},
{
"value": "7.22+ds-1~bpo13+1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-11404",
"aliases": [
"DEBIAN-CVE-2026-11404"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.22+ds-1"
}
]
}
],
"package": {
"name": "mongoose",
"purl": "pkg:deb/debian/mongoose?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"7.21+ds-1",
"7.21+ds-1~bpo13+1",
"7.21+ds-2",
"7.22+ds-1~bpo13+1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-11404.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T11:47:35.641320021Z",
"provider": "osv",
"upstream": [
"CVE-2026-11404"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-11404"
]
},
"related_cves": [
{
"value": "CVE-2026-11404",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450869,
"published_at": "2026-07-09T16:16:34.64+00:00"
}