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-66859 Overview
CVE-2026-66859 is a vulnerability in the Apache Thrift c_glib language bindings that combines a NULL pointer dereference with the use of an uninitialized variable [CWE-457]. The flaw affects all Apache Thrift releases prior to 0.25.0. A remote attacker can trigger the condition without authentication or user interaction by sending crafted input across the network to a service built on the affected bindings. Successful exploitation causes availability loss in the target process. The Apache Thrift project has released version 0.25.0 to remediate the issue.
Critical Impact
Unauthenticated remote attackers can crash Apache Thrift services built with the c_glib bindings by triggering a NULL pointer dereference against uninitialized memory, resulting in denial of service.
Affected Products
- Apache Thrift c_glib bindings, all versions before 0.25.0
- Services and applications linking the vulnerable c_glib runtime
- Fixed release: Apache Thrift 0.25.0
Discovery Timeline
- 2026-10-02 - CVE-2026-66859 published to the National Vulnerability Database (NVD)
- 2026-10-02 - Last updated in the NVD database
Technical Details for CVE-2026-66859
Vulnerability Analysis
Apache Thrift is a cross-language RPC framework. The c_glib bindings provide a C implementation that integrates with the GLib object system. The vulnerability arises when the bindings process input without properly initializing an internal variable before use. The uninitialized value is then dereferenced as a pointer, leading to a NULL pointer dereference and a crash of the hosting process.
Because Apache Thrift services typically listen on the network and accept serialized messages from untrusted peers, an attacker can reach the vulnerable code path remotely. The flaw affects availability only; it does not grant code execution, data disclosure, or integrity impact according to the published CVSS vector.
Root Cause
The defect is tracked as CWE-457: Use of Uninitialized Variable, combined with a NULL pointer dereference. A code path inside the c_glib bindings reads a variable whose contents are implementation-defined before any assignment occurs. When that value is subsequently treated as a pointer and dereferenced, the process faults.
Attack Vector
Exploitation is network-based and requires no privileges or user interaction. An attacker sends a crafted Thrift message to a service that uses the vulnerable c_glib bindings. The malformed input steers execution into the uninitialized code path and triggers the crash. Repeated requests can be used to maintain a denial-of-service condition against the target service.
No verified public exploit code or proof-of-concept has been published at the time of writing. See the Apache Mailing List Thread and the Apache Mailing List Discussion for upstream details.
Detection Methods for CVE-2026-66859
Indicators of Compromise
- Unexpected SIGSEGV crashes or core dumps in processes linked against the Apache Thrift c_glib library.
- Repeated service restarts of Thrift-based RPC endpoints without a corresponding deployment event.
- Spikes of short-lived, malformed Thrift requests from a narrow set of source IP addresses.
Detection Strategies
- Inventory running software to identify binaries dynamically or statically linked to Apache Thrift c_glib versions earlier than 0.25.0.
- Correlate process crash telemetry with inbound traffic to Thrift listener ports to identify triggering requests.
- Deploy protocol-aware inspection where feasible to flag malformed Thrift frames reaching exposed services.
Monitoring Recommendations
- Alert on repeated crashes of the same service binary within a short window using endpoint telemetry.
- Monitor connection rates and payload sizes to Thrift RPC endpoints for anomalies.
- Centralize syslog, journald, and container runtime logs so crash signatures from affected services are retained and queryable.
How to Mitigate CVE-2026-66859
Immediate Actions Required
- Upgrade Apache Thrift to version 0.25.0 or later across all build pipelines and deployed services.
- Rebuild and redeploy any downstream applications statically linked against the vulnerable c_glib library.
- Restrict network exposure of Thrift RPC endpoints to trusted clients until patching is complete.
Patch Information
Upgrade to Apache Thrift 0.25.0, which contains the upstream fix. Package maintainers should refresh distribution packages that bundle c_glib, and application owners should pin builds to the patched release. Refer to the Apache Mailing List Thread for the vendor announcement.
Workarounds
- Place vulnerable Thrift services behind an authenticated reverse proxy or service mesh to limit anonymous network reach.
- Apply firewall rules that restrict access to Thrift listener ports to known internal client ranges.
- Enable automatic process supervision so that any crash-based denial-of-service is mitigated by rapid service restart while patches are rolled out.
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

