MCP PHP SDK(Composer 包 mcp/sdk)是 Model Context Protocol(模型上下文协议)的官方 PHP 软件开发工具包。在 0.5.0 至 0.7.0 版本中,HTTP 客户端传输机制会逐块读取服务器发送事件(Server-Sent Events, SSE)响应流,并将每个数据块追加到一个没有上限的内存缓冲区中。该缓冲区仅在检测到 SSE 事件分隔符(即双换行符)时才会被清空。因此,如果远程 MCP 服务器持续推送响应字节但永不发送分隔符,会导致内存缓冲区无限增长。 当客户端
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| modelcontextprotocol | php-sdk | >= 0.5.0, < 0.7.1 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| modelcontextprotocol | php-sdk | >= 0.5.0, < 0.7.1 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet