# CVE-2026-53965: MCP PHP SDK: Unbounded SSE buffer in HttpTransport enables client-side denial of service

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-25 · Modified: 2026-08-26
- Record: https://cvemate.com/vulnerability/CVE-2026-53965 · JSON: https://cvemate.com/vulnerability/CVE-2026-53965/json

## Description

```text
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 delimiter causes 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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.506%, percentile 44.839%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- modelcontextprotocol php-sdk: ≥ 0.5.0, \< 0.7.1

## References

- <https://github.com/modelcontextprotocol/php-sdk/security/advisories/GHSA-7m52-jw36-44r3>
- <https://github.com/modelcontextprotocol/php-sdk/commit/055593f2592e1d7f5f48587c999ca7068a3be90d>
- <https://github.com/modelcontextprotocol/php-sdk/releases/tag/v0.7.1>

---

Data as of 2026-12-05T09:54:56.096Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
