CVE-2026-73261
Beschrijving NL
Mongoose is een embedded webserver en netwerkbibliotheek. Voorafgaand aan 7.23, verwerpt de ingebouwde TCP/IP-stack die is ingeschakeld door MG_ENABLE_TCPIP in src/net_builtin.c geen TCP-optie waarvan de aangegeven optes [1] lengte de resterende optiebytes overschrijdt. In handle_opt() zorgt een NOP gevolgd door een afgekorte MSS-optie ervoor dat opts[3] buiten het gedeclareerde optiegebied worden gelezen en worden gebruikt als de lage byte van dmss. Een niet-geverifieerde externe peer kan de MSS-waarde per verbinding beschadigen, zodat latere mg_send() -oproepen afgekorte of nullange applicatie-payloads verzenden terwijl de TCP-verbinding anders gezond lijkt. Dit probleem is opgelost in versie 7.23.
Origineel (Engels) tonen
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.