Intel

AIKIDO-2026-448901

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

Out-of-bounds ReadCVE-2026-52053 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 parses chained IPv6 extension headers in a loop that only validates the total offset after the loop finishes. Crafted extension headers advance the parse pointer past the validated payload, reading adjacent heap memory on each iteration. An unauthenticated peer on the local segment can crash the device or use the over-read values as a side channel. The fix bounds the pointer on every iteration.

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.