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.
Published: 2026-10-02
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory Leak
Action: Update Immediately
AI Analysis

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.

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

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 yet.

History

Mon, 05 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 02 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift

Fri, 02 Oct 2026 12:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-05T16:16:18.135Z

Reserved: 2026-09-21T23:23:32.152Z

Link: CVE-2026-94652

cve-icon Vulnrichment

Updated: 2026-10-05T16:16:10.264Z

cve-icon NVD

Status : Deferred

Published: 2026-10-02T12:17:23.847

Modified: 2026-10-05T17:17:18.100

Link: CVE-2026-94652

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-02T14:44:15Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime