Intel

AIKIDO-2026-268490

cesanta.mongoose is vulnerable to Out-of-bounds Read

Out-of-bounds ReadCVE-2026-73261 Published Aug 13, 2026

55

Medium Risk

This Affects:

C++cesanta.mongoose
7.18 - 7.22
Fixed in 7.23
Are you affected? Scan for Free

TL;DR

The built-in TCP/IP stack's TCP option handler checks for a zero-length option but not for an option whose declared length exceeds the remaining option bytes. A crafted SYN with a padded MSS option reads one byte past the option area, and that byte becomes the connection's maximum segment size. When the stray byte is zero, the connection silently transmits no application data while appearing healthy. The fix rejects options longer than the remaining bytes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you enable the built-in TCP/IP stack (MG_ENABLE_TCPIP).

Background info

cesanta.mongoose is vulnerable to Out-of-bounds Read in versions 7.18 - 7.22.

How to fix this

Upgrade the cesanta.mongoose library to the patch version.