CVE-2026-94652 Apache Thrift: C++ `TEvhttpServer` leaks its `RequestContext` when the processor throws before calling back
An attacker can cause a memory leak in Apache Thrift C++ servers by triggering exceptions, leading to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-94652?
CVE-2026-94652 is a medium-severity denial of service vulnerability in Apache Thrift, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Missing release of memory after effective lifetime vulnerability in Apache Thrift c++ bindings.
This issue affects Apache Thrift: before 0.25.0.
Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Weakness: CWE-401
Which versions are affected by CVE-2026-94652?
1 open source package ship an affected version, including thrift.
| Package | Affected | Fixed in |
|---|---|---|
thrift Bitnami | All versions | 0.25.0 |
How do I fix CVE-2026-94652?
Upgrade thrift to 0.25.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-94652 being exploited?
There is no known exploitation of CVE-2026-94652 in the wild and no public exploit code.
Sources
Also known as AZL-105419, BIT-thrift-2026-94652, DEBIAN-CVE-2026-94652, ECHO-3331-34a8-58ff, GHSA-vvwp-vr72-8fwf, MINI-2h68-j5wq-rg2j and 1 more.