🔍 CVE-2026-53965

0.0
CVSS Score
UNKNOWN
2026-08-25
2026-09-09 21:07
✅ 완료

🇰🇷 한글 설명

MCP PHP SDK(mcp/sdk) 0.5.0에서 0.7.0 버전 사이의 HTTP 클라이언트 전송 계층에서 메모리 무제한 버퍼링 문제가 발견되었습니다. 공격자가 SSE 이벤트 구분자를 보내지 않고 지속적으로 데이터를 스트리밍하면 클라이언트의 메모리가 고갈되어 서비스 거부(DoS) 상태가 발생할 수 있습니다.

💡 쉬운 설명

악의적인 서버가 끝없이 데이터를 보내면 프로그램이 이를 모두 메모리에 쌓아두려다 컴퓨터가 멈추거나 꺼지는 현상입니다. 서버가 '여기까지가 데이터다'라는 신호를 주지 않으면 메모리가 계속 차오르는 취약점입니다.

🇺🇸 원문 (English)

The MCP PHP SDK (Composer package mcp/sdk) is the official Model Context Protocol SDK for PHP. In versions 0.5.0 through 0.7.0, the HTTP client transport reads a Server-Sent Events response stream incrementally and appends each chunk to an in-memory buffer with no upper bound. The buffer is only flushed when an SSE event delimiter, a double newline, is found, so a remote MCP server that streams response bytes without ever sending the; the buffer to grow without limit. A malicious, compromised, or man-in-the-middle-controlled server that the client connects to over the HTTP transport can exploit this to exhaust the client process's memory, triggering a fatal allocation error or OS out-of-memory kill and denying service to the MCP client. The issue affects any client using HttpTransport against an untrusted server endpoint and does not require authentication or user interaction beyond initiating the connection. This issue is fixed in version 0.7.1.

📍 영향받는 시스템

mcp/sdk (Composer package) versions 0.5.0 through 0.7.0

⚔️ 공격 벡터

신뢰할 수 없는 MCP 서버를 통한 무제한 데이터 스트리밍을 이용한 메모리 고갈 공격

🛡️ 대응 방법

mcp/sdk 버전을 0.7.1 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 0.5.0에서 0.7.0 사이라면 취약한 상태이며, 0.7.1 이상이면 안전합니다.

Shell / Script
composer show mcp/sdk | grep 'versions'

💻 영향받는 소프트웨어

PHP