Intel

AIKIDO-2026-81469

thrift is vulnerable to Memory Leak

CVE-2026-94652Published Oct 9, 2026
October 9, 2026

63

CVE Score

Medium

Memory Leak

Are you affected? Scan for Free

TL;DR

TEvhttpServer::process allocates a RequestContext with new and relies on the completion callback to delete it. If processor_->process() throws before that callback runs, the context and its buffered request are never freed, and repeated truncated requests leak memory until the process is exhausted. The fix releases the request context when processing throws before the callback runs.

How do I fix this?

Upgrade the thrift library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run a TEvhttpServer that handles untrusted HTTP requests.

Package

thrift

Versions

0.6.0 - 0.24.0

Fixed in 0.25.0

Background info

thrift is vulnerable to Memory Leak in versions 0.6.0 - 0.24.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea