# CVE-2026-66859: Apache Thrift NULL pointer dereference in c_glib bindings

Source: https://junglewise.ai/threats/cve-2026-66859-null-pointer-dereference-use-of-uninitialized-variable  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-02. Updated: 2026-10-05  
License: CC BY 4.0 with a link back

CVE-2026-66859 · Severity: info · Published 2026-10-02

Apache Thrift is a framework for building cross-language services that allow communication between different programming languages. A NULL pointer dereference and use of uninitialized variable vulnerability in the c_glib bindings could cause the service to crash or behave unpredictably, potentially disrupting services that depend on Thrift for inter-process communication.

Technologies: [Apache Thrift](https://junglewise.ai/threats/technologies/thrift). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache).

## Quick answers

**Is CVE-2026-66859 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-66859 being exploited in the wild.

**How severe is CVE-2026-66859?** Informational severity, published 2 October 2026.

**Which products and versions are affected?** Apache Thrift before 0.25.0.

**Is there a fix for CVE-2026-66859?** Yes: fixed in 0.25.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-66859 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-66859?** Check whether you run Apache Thrift at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 0.25.0

## Technical details

The vulnerability is a NULL pointer dereference and use of uninitialized variable flaw in Apache Thrift's c_glib bindings. The c_glib bindings provide C language bindings for Thrift using the GLib library. Applications using the c_glib bindings before version 0.25.0 are affected.

## Affected products

- Apache Thrift before 0.25.0

## Timeline

- 2026-10-02: disclosed

## References

- [https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1](https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1)
- [https://lists.apache.org/thread/n9rogg2166hl9y4ycq5njpvnxndr8y5o](https://lists.apache.org/thread/n9rogg2166hl9y4ycq5njpvnxndr8y5o)

## Related threats

- [Apache Thrift uncontrolled recursion in Java bindings](https://junglewise.ai/threats/cve-2026-120135-uncontrolled-recursion-vulnerability-in-apache-thrift-java)
- [Apache Thrift uncontrolled recursion in PHP bindings](https://junglewise.ai/threats/cve-2026-96289-uncontrolled-recursion-vulnerability-in-apache-thrift-php)
- [Apache Thrift Perl bindings inefficient algorithmic complexity](https://junglewise.ai/threats/cve-2026-96287-inefficient-algorithmic-complexity-vulnerability-in-apache-thrift)
- [Apache Thrift uncaught exception in Perl bindings](https://junglewise.ai/threats/cve-2026-96286-uncaught-exception-vulnerability-in-apache-thrift-perl-bindings)
- [Apache Thrift Ruby bindings exception handling vulnerability](https://junglewise.ai/threats/cve-2026-96277-uncaught-exception-improper-handling-of-exceptional-conditions)
