Intel

AIKIDO-2026-728048

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

CVE-2026-73260Published Aug 13, 2026
August 13, 2026

75

CVE Score

High

Out-of-bounds Read

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.

How do I fix this?

Upgrade the cesanta.mongoose library to the patch version.

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.

Package

cesanta.mongoose

Versions

7.14.0 - 7.22.0

Fixed in 7.23.0

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea