Skip to content
High 7.5

MCP TypeScript SDKに大量の配列要素を含む1件のリクエストでサーバーのメモリを使い果たされる脆弱性

CVE-2026-111768 First seen on SecPulse

Summary

2026年10月20日に公表された、MCP TypeScript SDKの脆弱性です。1件のHTTPリクエストでサーバーのメモリを使い果たされ、プロセスが停止するおそれがあります。影響を受けるのは@modelcontextprotocol/sdkの1.3.0から1.31.0、@modelcontextprotocol/serverの2.0.0から2.2.0です。修正版は@modelcontextprotocol/sdkが1.32.0、@modelcontextprotocol/serverが2.3.0で、更新に加えて、maxToolInputElementsとmaxRequestBodySizeの設定が必要です。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

2026年10月20日に公表された、MCP TypeScript SDKの脆弱性です。1件のHTTPリクエストでサーバーのメモリを使い果たされ、プロセスが停止するおそれがあります。影響を受けるのは@modelcontextprotocol/sdkの1.3.0から1.31.0、@modelcontextprotocol/serverの2.0.0から2.2.0です。修正版は@modelcontextprotocol/sdkが1.32.0、@modelcontextprotocol/serverが2.3.0で、更新に加えて、maxToolInputElementsとmaxRequestBodySizeの設定が必要です。

Affected packages

PackageAffected → Fixed
npm@modelcontextprotocol/sdk
≥ 1.3.0, < 1.32.0→ 1.32.0
npm@modelcontextprotocol/server
≥ 2.0.0, < 2.3.0→ 2.3.0
modelcontextprotocoltypescript-sdk —
@modelcontextprotocolserver —
@modelcontextprotocolsdk —
Original description The description as published by the source.

The Model Context Protocol TypeScript SDK provides TypeScript client and server implementations of the Model Context Protocol. From 1.3.0 until 1.32.0 in @modelcontextprotocol/sdk and from 2.0.0 until 2.3.0 in @modelcontextprotocol/server, HTTP servers did not enforce a limit on the number of array elements and object keys validated in one request. The affected surface is validation of HTTP requests containing arrays or object keys. The trigger is an array-element or object-key validation workload large enough to exhaust memory while remaining within the request size limit. A single request within the default 4 MiB limit can terminate the process with JavaScript heap exhaustion. No credentials are required unless the application authenticates before SDK processing. Tools accepting arrays or records carry the greatest risk. stdio-only servers do not expose the HTTP request path. Upgrading alone does not enable the new validation bound. Operators must configure both a tool-input element bound and an appropriate request body size limit. This issue is fixed in @modelcontextprotocol/sdk 1.32.0 and @modelcontextprotocol/server 2.3.0.

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details