Intel

AIKIDO-2026-683378

mcp_dart is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-92g6-8c2f-55w5 Published Yesterday

65

Medium Risk

This Affects:

DARTmcp_dart
0.0.1 - 2.4.1
Fixed in 2.4.2
Are you affected? Scan for Free

TL;DR

mcp_dart's stdio, IO stream, and server stdio transports buffer each incoming newline-delimited message in a ReadBuffer that appends bytes without any per message size limit. A peer process that writes bytes continuously without a newline delimiter grows that buffer without bound, exhausting process memory and crashing the host or client process. The fix adds a default 10 MiB maxIncomingMessageBytes limit, clears the buffer, reports an error, and closes the affected transport once a message exceeds it.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the stdio, server stdio, or IO stream transports to exchange messages with a peer that may be unreliable or not fully trusted.

Background info

mcp_dart is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 2.4.1.

How to fix this

Upgrade the mcp_dart library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform