CVE-2026-94652

Apache Thrift: C++ `TEvhttpServer` leaks its `RequestContext` when the processor throws before calling back

Published Oct 2, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

This flaw occurs when the TEvhttpServer component of Apache Thrift leaks its RequestContext after a processor throws an exception before the callback is invoked. The missing release of memory after the object's effective lifetime can lead to uncontrolled memory consumption, potentially exhausting the server’s memory. The vulnerability is an instance of improper resource deallocation (CWE‑401). No explicit authentication or privileged access is required; an attacker can trigger the exception path through crafted client requests, making the impact primarily a form of denial of service via memory exhaustion.

Affected Systems

Apache Thrift before version 0.25.0, distributed by the Apache Software Foundation.

Risk and Exploitability

The CVSS score is 6.3, indicating moderate severity. The EPSS score is not available, so the precise probability of exploitation is uncertain, yet it has not been listed in the CISA KEV catalog. The most likely attack vector is remote, with an attacker sending malicious requests to the Thrift service to trigger the exception path, leading to a memory leak and potential resource exhaustion.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Thrift to version 0.25.0 or later, which applies the fix for this memory leak.
  • If a quick upgrade is not possible, limit concurrent Thrift requests or apply rate‑limiting to reduce the risk of memory exhaustion.
  • Continuously monitor memory consumption and restart the service if sustained high usage is observed.

Generated by OpenCVE AI on October 2, 2026 at 13:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift
Type Values Removed Values Added
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.
Title Apache Thrift: C++ `TEvhttpServer` leaks its `RequestContext` when the processor throws before calling back
Weaknesses CWE-401
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 5, 2026, 4:16 PM
Reserved
Sep 21, 2026, 11:23 PM
Status
Deferred
Published
Oct 2, 2026, 12:17 PM
Modified
Oct 5, 2026, 5:17 PM