Sari la conținut
RedCVE

CVE-2026-53937Modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk uncontrolled resource consumption

modelcontextprotocolPublicat:

Scor CVSS

6.2

Mediu

CVSS 3.1 de la github.com

Probabilitate de exploatare (EPSS)

0.19%

Șansă de 0.19% să fie exploatată în următoarele 30 de zile, peste 8.16% dintre toate CVE-urile.

CISA KEV

Nu este în KEV

CISA nu a raportat până acum exploatări confirmate.

Descrierea oficială

MCP Kotlin SDK is the Kotlin Multiplatform software development kit for the Model Context Protocol. In versions 0.7.0 through 0.12.0, `ReadBuffer.append` in `kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/shared/ReadBuffer.kt` writes every chunk of bytes received from the stdio transport into a `kotlinx.io.Buffer` with no size cap. Frames are extracted from that buffer only when a `\n` (0x0a) byte is observed. A peer that streams bytes without ever sending a newline causes the internal buffer to grow indefinitely until the JVM (or the surrounding host process) is OOM-killed. The leak is amplified by `StdioServerTransport` and `StdioClientTransport`, which both queue raw chunks through a `kotlinx.coroutines.channels.Channel<ByteArray>(Channel.UNLIMITED)` and then call `readBuffer.append(chunk)` without backpressure or size guard. This is a remote-pre-auth denial of service whenever an SDK stdio server's stdin is fed by an untrusted or attacker-controlled producer (for example: a host program that exec's the MCP server as a subprocess and pipes through bytes received from a network peer, or a sidecar wrapper that proxies bytes from an HTTP endpoint to the stdio transport). Version 0.13.0 fixes the issue.

Sursa: NVD · CNA: security-advisories@github.com

Cum îl remediezi, pas cu pas

  1. Verifică dacă ești afectat

    Identifică toate sistemele care rulează modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk-client, modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk-core, modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk-server și compară versiunea lor cu versiunile afectate.

  2. Actualizează la o versiune remediată

    • Actualizează Io.modelcontextprotocol:kotlin-sdk-client la 0.13.0 sau mai nou.
  3. Confirmă remedierea

    Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.

Ți-a fost util?

Cum poate fi exploatată

Vector de atac
Local
Complexitatea atacului
Scăzut
Privilegii necesare
Niciunul
Interacțiune cu utilizatorul
Niciunul
Domeniu de impact
Neschimbat
Confidențialitate
Niciunul
Integritate
Niciunul
Disponibilitate
Ridicat

Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Produse afectate

Produse afectateVersiuni
modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk< 0.13.0
modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk-client>= 0.7.0, < 0.13.0
modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk-core< 0.13.0
modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk-server>= 0.7.0, < 0.13.0

Tip de slăbiciune

  • CWE-400 uncontrolled resource consumption
  • CWE-770 allocation of resources without limits

Cronologie

  1. Publicat:
  2. Ultima modificare:

Întrebări frecvente

Este CVE-2026-53937 exploatată?

Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.2% de exploatare în următoarele 30 de zile.

Care este scorul CVSS pentru CVE-2026-53937?

CVE-2026-53937 are un scor de bază CVSS 3.1 de 6.2 (mediu).

Ce versiuni sunt afectate?

Modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk (< 0.13.0), Modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk-client (>= 0.7.0, < 0.13.0), Modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk-core (< 0.13.0), Modelcontextprotocol Io.modelcontextprotocol:kotlin-sdk-server (>= 0.7.0, < 0.13.0)

Există patch pentru CVE-2026-53937?

Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.

Referințe

Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.