CVE-2026-53965: MCP PHP SDK: client HttpTransport SSE buffer (sseBuffer .= chunk) grows unbounded when server withholds the event delimiter

high Affects mcp/sdk. Feed 2026.10.29.4, updated 2026-10-29; published .

MCP PHP SDK: client HttpTransport SSE buffer (sseBuffer .= chunk) grows unbounded when server withholds the event delimiter

Package
mcp/sdk Composer
Affected versions
>=0.5.0 and <0.7.1
Fixed in
0.7.1
Severity
high
Exploitation
not on CISA KEV · EPSS 1% (49.4th percentile)
Published
2026-08-19
Source
osv.dev

References

CWE-400CWE-770
NVD recordmcp/sdk advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories