Intel

AIKIDO-2026-606890

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

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

65

Medium Risk

This Affects:

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

TL;DR

The built-in TCP/IP stack's neighbor discovery handlers access fixed offsets in ICMPv6 neighbor advertisement and solicitation messages without confirming the payload is large enough. Short packets cause out-of-bounds heap reads of up to twenty-two bytes past the receive buffer. An unauthenticated peer on the same network segment can crash the device through the over-read of adjacent memory. The fix adds the missing minimum-length checks.

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) with IPv6.

Background info

cesanta.mongoose is vulnerable to Out-of-bounds Read in versions 7.20 - 7.21.

How to fix this

Upgrade the cesanta.mongoose library to the patch version.