Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/cesanta/mongoose/commit/cc7c6d2d18c28fcc6d085633dddd884029461
- https://github.com/cesanta/mongoose/releases/tag/7.23
- https://github.com/cesanta/mongoose/security/advisories/GHSA-3fmr-92g4-wchx
- https://github.com/cesanta/mongoose/security/advisories/GHSA-3fmr-92g4-wchx
FAQ
What is CVE-2026-73261?
CVE-2026-73261 is a vulnerability with a CVSS score of 7.5 (HIGH). 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] len...
How severe is CVE-2026-73261?
CVE-2026-73261 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-73261?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.