CVE-2026-84304: gRPC-Go: Heap Memory Exhaustion (OOM) via HTTP/2 DATA Frame Fragmentation

Published Sep 1, 2026
·
Updated

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 GRPCGOEXPERIMENTALENABLERECEIVEBUFFERCOMPACTION. This issue is fixed in version 1.83.1.

Affected Software

1 affected component
gRPC-Go gRPC-Go<1.83.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade gRPC-Go to a version that resolves this vulnerability.

    Fixed in 1.83.1
  2. Configuration

    If you must mitigate before upgrading to v1.83.1, control receive-buffer compaction temporarily using the GRPC_GO_EXPERIMENTAL_ENABLE_RECEIVE_BUFFER_COMPACTION environment variable (receive-buffer compaction is enabled by default).

    gRPC-Go (transport receive buffer) GRPC_GO_EXPERIMENTAL_ENABLE_RECEIVE_BUFFER_COMPACTION = enabled (default) / control temporarily as needed

Event History

Sep 1, 2026
CVE Published
via MITRE·06:19 PM
Data Sourced
via MITRE·06:19 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service issue?

Deployments using gRPC-Go versions before 1.83.1 are affected. An unauthenticated remote attacker can target a reachable gRPC-Go endpoint using HTTP/2 DATA frames.

2

What does an attacker need to do to trigger the memory exhaustion?

The attacker sends millions of fragmented, potentially one-byte, HTTP/2 DATA frames and can use concurrent multiplexed streams. The payload can remain within connection and stream flow-control windows while per-frame buffering consumes disproportionate heap memory.

3

Are default settings affected, and what can be done before upgrading?

Receive-buffer compaction is enabled by default. As a temporary control, its behavior can be controlled with the GRPC_GO_EXPERIMENTAL_ENABLE_RECEIVE_BUFFER_COMPACTION environment variable; upgrade to 1.83.1 for the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203