Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-63772 Overview
CVE-2026-63772 is an Allocation of Resources Without Limits or Throttling vulnerability [CWE-770] affecting the Apache Thrift Go bindings. Remote attackers can send crafted network traffic that triggers unbounded resource allocation in services using the Go library. The flaw affects all versions of Apache Thrift before 0.25.0. The project recommends upgrading to version 0.25.0, which fixes the issue.
Critical Impact
Unauthenticated attackers can exhaust memory on services built with the Apache Thrift Go bindings, causing denial of service against RPC endpoints exposed over the network.
Affected Products
- Apache Thrift Go bindings versions before 0.25.0
- Services and RPC endpoints built on vulnerable Thrift Go library versions
- Downstream Go applications and microservices that embed the Thrift Go runtime
Discovery Timeline
- 2026-10-02 - CVE-2026-63772 published to the National Vulnerability Database (NVD)
- 2026-10-03 - Last updated in NVD database
Technical Details for CVE-2026-63772
Vulnerability Analysis
The vulnerability lives in the Apache Thrift Go bindings and is classified as Allocation of Resources Without Limits or Throttling [CWE-770]. The Go library accepts incoming Thrift protocol messages and allocates memory based on size fields that originate from the untrusted peer. Without an upper bound enforced by the deserializer, a single crafted request can drive the server to allocate large volumes of memory. Repeated requests, or a single large one, exhaust process memory and terminate the service.
The issue is network-reachable and requires no authentication or user interaction. Impact is limited to availability; confidentiality and integrity are not affected. Apache resolved the issue in version 0.25.0 of the Go bindings.
Root Cause
The Thrift Go deserializer trusts length and element-count fields in binary, compact, and related protocol messages. When a client declares an oversized collection, map, or binary payload, the server pre-allocates buffers to match. The code path lacks a configurable maximum message size or element limit, so attacker-controlled values map directly into runtime allocations.
Attack Vector
An attacker opens a TCP connection to any service listening with the vulnerable Thrift Go server and sends a protocol-conformant message with inflated size descriptors. The server attempts to allocate the declared buffer before validating the payload, triggering heap growth, garbage collector pressure, and eventual out-of-memory termination. The attack is unauthenticated and repeatable from any network position that can reach the service.
No verified public proof-of-concept code is available. See the Apache mailing list disclosure and the follow-up thread for upstream details.
Detection Methods for CVE-2026-63772
Indicators of Compromise
- Repeated out-of-memory crashes or restarts of Go processes that embed the Apache Thrift server library.
- Sudden spikes in resident set size (RSS) and Go heap allocation metrics on Thrift RPC endpoints without a matching increase in legitimate request volume.
- Short-lived TCP sessions to Thrift ports followed by server termination events in container or systemd logs.
Detection Strategies
- Inventory Go services and dependencies for github.com/apache/thrift versions below 0.25.0 using software composition analysis or go list -m all.
- Instrument Thrift servers with per-request size metrics and alert when declared message, list, map, or binary sizes exceed expected business thresholds.
- Correlate network flow telemetry to Thrift ports with process-level memory and crash events in your observability pipeline.
Monitoring Recommendations
- Export Go runtime metrics (go_memstats_alloc_bytes, go_gc_duration_seconds) and alert on sustained growth tied to Thrift listener ports.
- Capture packet or application logs showing abnormally large declared payload sizes against Thrift endpoints.
- Monitor orchestrator events for OOMKilled pods or restart loops on services known to expose Thrift RPC.
How to Mitigate CVE-2026-63772
Immediate Actions Required
- Upgrade the Apache Thrift Go bindings dependency to version 0.25.0 or later and rebuild all affected services.
- Restrict network exposure of Thrift RPC endpoints to trusted internal networks or authenticated peers using firewall or service mesh policies.
- Place a reverse proxy or API gateway in front of Thrift services to enforce maximum request body size.
Patch Information
Apache Thrift version 0.25.0 fixes CVE-2026-63772. Update the github.com/apache/thrift module in go.mod, run go mod tidy, and redeploy. Verify the resolved version with go list -m github.com/apache/thrift. Upstream details are available in the Apache Thrift project announcement thread.
Workarounds
- Terminate Thrift traffic at a proxy that enforces a strict maximum request size aligned with legitimate payloads.
- Apply network segmentation and mutual TLS so that only authenticated clients can reach Thrift listeners.
- Set container memory limits and configure the Go runtime with GOMEMLIMIT so that affected processes fail fast and restart cleanly instead of destabilizing the host.
# Update Apache Thrift Go bindings to the fixed release
go get github.com/apache/thrift@v0.25.0
go mod tidy
go build ./...
# Verify the resolved module version
go list -m github.com/apache/thrift
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

