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-94637 Overview
CVE-2026-94637 is a data amplification vulnerability affecting the Apache Thrift Go bindings. The flaw stems from improper handling of highly compressed input data [CWE-409]. A remote attacker can submit a small, highly compressed payload that expands into a disproportionately large amount of data during deserialization. This leads to resource exhaustion on the server processing the Thrift message. The issue affects all Apache Thrift releases prior to version 0.25.0, and the Apache Software Foundation recommends upgrading to 0.25.0 to remediate the problem.
Critical Impact
Unauthenticated remote attackers can trigger memory and CPU exhaustion on services using vulnerable Apache Thrift Go bindings by sending compact, highly compressed Thrift payloads.
Affected Products
- Apache Thrift Go bindings, all versions before 0.25.0
- Go services that deserialize Thrift messages received from untrusted network sources
- Downstream applications bundling vulnerable Thrift Go libraries
Discovery Timeline
- 2026-10-02 - CVE-2026-94637 published to NVD
- 2026-10-05 - Last updated in NVD database
Technical Details for CVE-2026-94637
Vulnerability Analysis
Apache Thrift is a cross-language serialization and remote procedure call (RPC) framework. The Go bindings decode incoming Thrift messages, including fields that may carry compressed or length-prefixed content. The vulnerability arises when the decoder accepts input where the declared or compressed size is small, but the decompressed or expanded representation consumes significant memory. An attacker exploits this ratio by crafting payloads whose compact wire form expands enormously in memory during parsing.
Because Thrift services are typically exposed over the network, the attack can be delivered without authentication to any endpoint accepting Thrift traffic. Repeated requests can exhaust process memory, trigger out-of-memory kills, or saturate CPU during decompression, causing denial of service for legitimate clients.
Root Cause
The root cause is categorized under [CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)]. The Go bindings did not enforce sufficient limits on the expanded size of compressed or length-prefixed fields relative to the incoming message size, allowing adversarial compression ratios to translate into excessive allocation.
Attack Vector
The attack vector is network-based and requires no privileges or user interaction. An attacker sends a crafted Thrift payload containing fields whose expanded form is many orders of magnitude larger than the compact wire representation. The receiving Go service attempts the expansion, consuming memory and CPU until resources are exhausted. See the Apache Mailing List Thread Discussion and the Apache Mailing List Thread Update for additional technical context.
// No verified proof-of-concept code is published for CVE-2026-94637.
// Refer to the Apache advisory threads linked above for technical details.
Detection Methods for CVE-2026-94637
Indicators of Compromise
- Repeated service crashes or restarts of Go processes that terminate with out-of-memory errors shortly after receiving Thrift traffic.
- Spikes in RSS memory or CPU usage on Thrift listeners correlated with small inbound requests.
- Clients receiving connection resets, timeouts, or HTTP 5xx errors from Thrift-backed APIs during periods of low request volume.
Detection Strategies
- Inspect Thrift traffic at ingress for abnormal expansion ratios between compressed payload size and declared or decoded field sizes.
- Alert on Go runtime metrics such as go_memstats_alloc_bytes and process RSS growth that is uncorrelated with request throughput.
- Correlate kernel OOM-killer events with the PIDs of Thrift service binaries in host logs.
Monitoring Recommendations
- Export application and runtime telemetry to a centralized data lake and alert on memory, CPU, and crash-loop anomalies on Thrift services.
- Track versions of the Apache Thrift Go bindings in software bills of materials (SBOMs) and flag any instance below 0.25.0.
- Capture and retain Thrift request size distributions to establish a baseline that makes amplification attacks easier to spot.
How to Mitigate CVE-2026-94637
Immediate Actions Required
- Upgrade Apache Thrift Go bindings to version 0.25.0 or later across all affected services.
- Rebuild and redeploy any Go binaries that statically link the vulnerable Thrift library.
- Audit third-party dependencies for transitive use of pre-0.25.0 Thrift Go bindings and update them.
Patch Information
Apache has released Apache Thrift 0.25.0, which fixes the data amplification issue in the Go bindings. Users are recommended to upgrade to 0.25.0. Release details and discussion are available on the Apache Mailing List Thread Discussion and the Apache Mailing List Thread Update.
Workarounds
- Place Thrift endpoints behind a reverse proxy or API gateway that enforces strict request-size limits.
- Restrict network exposure of Thrift services so only authenticated internal clients can reach them until patched.
- Apply per-process memory limits using systemd MemoryMax or container resource limits to contain the blast radius of amplification attempts.
# Example: update the Apache Thrift Go bindings in a Go module
go get github.com/apache/thrift@v0.25.0
go mod tidy
go build ./...
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

