CVE-2026-73261 Mongoose: handle_opt() missing opts[1] > len check — 1-byte OOB read corrupts TCP MSS, silences mg_send() per connection
HighCVSS 7.5
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| cesanta mongoose | = < 7.23 | No fix listed |
| debian/mongoose(Debian:14) | < 7.23+ds-1 | 7.23+ds-1 |
| debian/mongoose(Debian:14) | = 7.21+ds-1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.21+ds-1~bpo13+1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.21+ds-2 | No fix listed |
| debian/mongoose(Debian:14) | = 7.22+ds-1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.22+ds-1~bpo13+1 | No fix listed |
| debian/mongoose(Debian:14) | = 7.23+ds-1~bpo13+1 | No fix listed |
| ubuntu/mongoose(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2552781 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/cesanta/mongoose/commit/cc7c6d2d18c28fcc6d085633dddd88402946140a
- https://github.com/cesanta/mongoose/releases/tag/7.23
- https://github.com/cesanta/mongoose/security/advisories/GHSA-3fmr-92g4-wchx exploit
- Debian Security Tracker CVE-2026-73261 vendor-advisory
- Ubuntu CVE tracker vendor-advisory