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.
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.42%
- Published
- Oct 14, 2026
- In the news
- Not yet
What to do
A serious memory read flaw in Cesanta Mongoose that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Cesanta Mongoose
- < 7.23
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-73261 published (CVSS 7.5) (Oct 14, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Oct 14, 2026
- CVECVE-2026-73261 published (CVSS 7.5)CVE Program · 19:17 UTC
References 4
- github.com /cesanta/mongoose/commit/cc7c6d2d18c28fcc6d085633dddd88402946140a
- github.com /cesanta/mongoose/releases/tag/7.23
- github.com /cesanta/mongoose/security/advisories/GHSA-3fmr-92g4-wchx
- github.com /cesanta/mongoose/security/advisories/GHSA-3fmr-92g4-wchx