Intel

AIKIDO-2026-558735

thrift is vulnerable to Memory Leak

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

87

CVE Score

High

Memory Leak

Are you affected? Scan for Free

TL;DR

THeaderTransport::untransform() and transform() decompress and compress frames with zlib, and on a malformed or oversized frame they throw without calling inflateEnd() or deflateEnd(). Each failed frame leaks the zlib stream's memory, so a peer who can repeat it exhausts the process. The fix releases the zlib stream on every error path before throwing.

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 enable the zlib transform on THeaderTransport for untrusted peers.

Package

thrift

Versions

0.10.0 - 0.24.0

Fixed in 0.25.0

Background info

thrift is vulnerable to Memory Leak in versions 0.10.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