Intel

AIKIDO-2026-728048

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

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

75

High Risk

This Affects:

C++cesanta.mongoose
7.14.0 - 7.22.0
Fixed in 7.23.0
Are you affected? Scan for Free

TL;DR

The built-in TLS X.509 parser decodes a long-form DER length without checking it against the remaining buffer, so a later subtraction on an unsigned counter underflows to a huge value. The parser then advances a pointer past the buffer and keeps reading out of bounds while walking a peer certificate. A malicious TLS peer can crash the process during the handshake without authentication. The fix bounds the decoded length against the available data.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the built-in TLS backend (MG_TLS_BUILTIN) and parse a peer certificate.

Background info

cesanta.mongoose is vulnerable to Out-of-bounds Read in versions 7.14.0 - 7.22.0.

How to fix this

Upgrade the cesanta.mongoose library to the patch version.