CVE-2026-53965
Last modified
CVE-2026-53965 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| modelcontextprotocol | php-sdk | >= 0.5.0, < 0.7.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-53965?
How severe is CVE-2026-53965?
How do I fix CVE-2026-53965?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-539594gaBoards is a boards system for realtime project management…6.5
- CVE-2026-5396The Fluent Forms plugin for WordPress is vulnerable to Autho…8.2
- CVE-2026-53960Discourse is an open-source discussion platform. Prior to 20…5.3
- CVE-2026-53961Discourse is an open-source discussion platform. Prior to 20…6.5
- CVE-2026-53962Discourse is an open-source discussion platform. Prior to 20…5.4
- CVE-2026-53963Discourse is an open-source discussion platform. Prior to 20…9
- CVE-2026-53966XWiki Platform is a generic wiki platform. From 13.4-rc-1 un…7.1
- CVE-2026-53968Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-53969Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-5397It has been identified that a vulnerability (CWE-427) exists…7.8
- CVE-2026-53970ZeroBrew version 0.3.1 and prior contains a missing integrit…7.5
- CVE-2026-53974Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2026-53965?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
