Mongoose is an embedded web server and network library. Prior to 7.23, the built-in TCP/IP stack enabled by MG_ENABLE_TCPIP in src/net_builtin.c does not reject a TCP option whose declared opts[1] length exceeds the remaining option bytes. In handle_opt(), a NOP followed by a truncated MSS option causes opts[3] to be read outside the declared options area and used as the low byte of dmss. An unauthenticated remote peer can corrupt the per-connection MSS value so later mg_send() calls transmit truncated or zero-length application payloads while the TCP connection otherwise appears healthy. This issue is fixed in version 7.23.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Deferred"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73261",
"id": "CVE-2026-73261",
"imported": "2026-12-03T21:21:02.756Z",
"modified": "2026-10-29T14:17:59.130Z",
"published": "2026-10-14T19:17:19.990Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-73261"
},
{
"affected": {
"Cesanta:Mongoose": [
"< 7.23"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-101598",
"id": "EUVD-2026-101598",
"imported": "2026-12-03T21:20:36.290Z",
"modified": "2026-10-29T13:46:18Z",
"published": "2026-10-14T18:25:41Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-101598"
}
]
}