{"id":"CVE-2026-84304","aliases":["CVE-2026-84304","GHSA-vp52-pcj8-j9qc","GO-2026-6348"],"related":[],"kind":"vulnerability","state":"published","title":"gRPC-Go: Heap Memory Exhaustion (OOM) via HTTP/2 DATA Frame Fragmentation","summary":"gRPC-Go is the Go language implementation of gRPC. Prior to 1.83.1, internal/transport/transport.go stores each fragmented HTTP/2 DATA frame as a separate recvMsg in recvBuffer, so millions of one-byte frames can consume disproportionate heap memory even when payload bytes remain within connection and stream flow-control windows. An unauthenticated remote attacker can use concurrent multiplexed streams to exhaust process memory and cause a runtime panic or out-of-memory termination. Receive-buffer compaction is enabled by default and can be controlled temporarily with GRPC_GO_EXPERIMENTAL_ENABLE_RECEIVE_BUFFER_COMPACTION. This issue is fixed in version 1.83.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"gRPC-Go is the Go language implementation of gRPC. Prior to 1.83.1, internal/transport/transport.go stores each fragmented HTTP/2 DATA frame as a separate recvMsg in recvBuffer, so millions of one-byte frames can consume disproportionate heap memory even when payload bytes remain within connection and stream flow-control windows. An unauthenticated remote attacker can use concurrent multiplexed streams to exhaust process memory and cause a runtime panic or out-of-memory termination. Receive-buffer compaction is enabled by default and can be controlled temporarily with GRPC_GO_EXPERIMENTAL_ENABLE_RECEIVE_BUFFER_COMPACTION. This issue is fixed in version 1.83.1.","source":"cvelist"},{"lang":"en","text":"### Impact\nAn unauthenticated remote attacker can initiate a gRPC stream and purposefully fragment their payload into millions of tiny (e.g., 1-byte) HTTP/2 DATA frames. Even if the total payload volume falls within the configured connection and stream flow-control windows, each independent fragment incurs memory overhead due to internal tracking structures and queue allocation.\n\nRepeated fragmentation massively inflates the heap space consumed by the stream. An attacker multiplexing multiple concurrent streams can exhaust the memory bounds of the runtime, forcing a runtime panic or OutOfMemory condition and leading to a remote Denial of Service (DoS).\n\n### Patches\nThe change to fix this issue is merged in `master` and a patch release, 1.83.1, has been published that contains this fix.\n\n### Workarounds\nThis vulnerability is mitigated by implementing receive buffer compaction. Consecutive small data buffers are automatically coalesced into larger buffers from a shared pool once the overhead is perceived to be excessive relative to actual payload data, drastically minimizing per-frame memory overheads.\n\nThis behavior is enabled by default. A temporary escape hatch is provided via the environment variable `GRPC_GO_EXPERIMENTAL_ENABLE_RECEIVE_BUFFER_COMPACTION=false` to disable the feature if unforeseen issues arise, but it will be removed in a future release.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Heap Memory Exhaustion (OOM) via HTTP/2 DATA Frame Fragmentation in google.golang.org/grpc","format":"markdown","source":"go"}],"published":"2026-09-01T18:19:10.100Z","modified":"2026-09-15T19:10:44.560Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"< 1.83.1","status":"affected"}],"vendor":"grpc","product":"grpc-go","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.83.1"}],"ecosystem":"Go","package":"google.golang.org/grpc","purl":"pkg:golang/google.golang.org/grpc","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.83.1"}],"ecosystem":"Go","package":"google.golang.org/grpc","purl":"pkg:golang/google.golang.org/grpc","source":"go"}],"references":[{"url":"https://github.com/grpc/grpc-go/security/advisories/GHSA-vp52-pcj8-j9qc","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/grpc/grpc-go/pull/9331","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/grpc/grpc-go/pull/9333","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/grpc/grpc-go/commit/7354d9c8debb4bcf2225bf429857078de310c176","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/grpc/grpc-go/commit/8cfeca0e1ee5ea0980dcc320e20240fa1079ec77","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/grpc/grpc-go/releases/tag/v1.83.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84304","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/grpc/grpc-go","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-01T19:23:26.130Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-84304","url":"https://www.cve.org/CVERecord?id=CVE-2026-84304","licence":"CVE Terms of Use","modified":"2026-09-01T19:24:36.867Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vp52-pcj8-j9qc","url":"https://github.com/advisories/GHSA-vp52-pcj8-j9qc","licence":"CC-BY-4.0","modified":"2026-09-15T19:10:44.560Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6348","url":"https://pkg.go.dev/vuln/GO-2026-6348","licence":"CC-BY-4.0","modified":"2026-09-15T19:00:16.944Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-84304","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84304","licence":"Public domain","modified":"2026-09-09T21:09:13.080Z"}],"updatedAt":"2026-11-25T22:59:35.992Z","epss":{"score":0.00609,"percentile":0.50522,"date":"2026-12-01T12:00:22.000Z"}}