{
  "id": "security/rust/rust-mcp-stack__rust-mcp-sdk/2026-11-29-sse-framing-buffers-no-size-cap",
  "title": "Client SSE framing buffers have no size cap",
  "category": "security",
  "type": "dos",
  "severity": "low",
  "cvss": null,
  "ecosystem": "rust",
  "project": {
    "owner": "rust-mcp-stack",
    "repo": "rust-mcp-sdk",
    "url": "https://github.com/rust-mcp-stack/rust-mcp-sdk"
  },
  "affected_versions": [
    "rust-mcp-transport 2.0.0"
  ],
  "fixed_version": "2.0.1",
  "status": "fixed",
  "disclosure": {
    "channel": "public-issue",
    "ghsa_id": null,
    "cve_id": null,
    "url": "https://github.com/rust-mcp-stack/rust-mcp-sdk/issues/302",
    "reported_at": "2026-11-29T15:58:32+03:00",
    "published_at": "2026-11-29T15:58:32+03:00"
  },
  "summary": "The client-side SSE framing buffers in SseParser and the legacy SSE client appended incoming bytes with no size cap, so a server that never finished a line or an event could make the client buffer grow without a limit. Reaching it needs a server the client connects to, or a plain HTTP man in the middle. The reviewed crate was rust-mcp-transport 2.0.0. Reported in public issue #302 by ucsurf; fixed by Ali Hashemi in PR #305 (47cba81), released in rust-mcp-transport 2.0.1. Ali Hashemi (hashemix) closed the issue as completed on 2026-11-29 via release pull request 303.",
  "discovered_at": "2026-11-29T15:58:32+03:00",
  "public": true,
  "credit": "ucsurf",
  "updated_at": "2026-11-30T10:00:00+03:00",
  "pr": {
    "url": "https://github.com/rust-mcp-stack/rust-mcp-sdk/pull/305",
    "state": "merged",
    "merged_at": null,
    "number": 305,
    "issue": 302
  },
  "references": [
    "https://github.com/rust-mcp-stack/rust-mcp-sdk/commit/47cba81c88bc245fa648c45a1986f580a11c5e97",
    "https://github.com/rust-mcp-stack/rust-mcp-sdk/pull/303",
    "https://github.com/rust-mcp-stack/rust-mcp-sdk/releases/tag/rust-mcp-transport-v2.0.1"
  ]
}
