Skip to main content
VulnerabilityPublished

CVE-2026-111768: MCP TypeScript SDK · One HTTP request within the default size limit could exhaust server memory during validation

Affects @modelcontextprotocol/sdkSource GCVE Database

0
Compare
Authoritative record:CVE-2026-111768· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 1.32.0 soon.

Data as of 4 Dec 2026, 18:36 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.32.0, 2.3.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.

What to do

Upgrade @modelcontextprotocol/sdk to 1.32.0; @modelcontextprotocol/server to 2.3.0.

Affected software

ProductAffectedFixed in
npm@modelcontextprotocol/sdkAffected
  • >=1.3.0 <1.32.0
Fixed in
  • 1.32.0
npm@modelcontextprotocol/serverAffected
  • >=2.0.0 <2.3.0
Fixed in
  • 2.3.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available. Upgrade to @modelcontextprotocol/sdk version 1.32.0 or later and @modelcontextprotocol/server version 2.3.0 or later. After upgrading, configure the 'maxToolInputElements' option to a value just above the largest expected input size to limit validated elements. Also, reduce the HTTP request size limit using 'maxRequestBodySize' on the transport or handler, or the equivalent in your HTTP parser. If upgrading is not possible immediately, reduce the request size limit using 'maxRequestBodySize' (available in SDK 1.30.1 or server 2.1.0) or use a reverse proxy to limit request sizes.

Description

A vulnerability in the MCP TypeScript SDK and server allows a single HTTP request within the default 4 MiB size limit to exhaust server memory during validation by sending excessive array elements or object keys. This causes the server process to abort with a 'JavaScript heap out of memory' error. No authentication is required unless the server enforces it before the SDK processes requests. The issue affects versions 1.3.0 through 1.31.0 of @modelcontextprotocol/sdk and 2.0.0 through 2.2.0 of @modelcontextprotocol/server. Fixed versions are 1.32.0+ for the SDK and 2.3.0+ for the server, which introduce a new option to limit input elements and recommend lowering request size limits.

References

Community reviews

Loading reviews…