Intel

AIKIDO-2026-630774

thrift is vulnerable to Heap-based Buffer Overflow

CVE-2026-83632Published Oct 8, 2026
October 8, 2026

92

CVE Score

Critical

Heap-based Buffer Overflow

Are you affected? Scan for Free

TL;DR

THttpTransport::refill() in the C++ HTTP transport doubles httpBufSize_ whenever an HTTP request or response line does not fit, with no ceiling on that growth. A peer that withholds the terminating CRLF can force the buffer to keep doubling until the process exhausts memory, and once httpBufSize_ reaches 2 GiB the next doubling wraps the uint32_t so realloc() shrinks the buffer that the following read overflows. The fix adds maxHttpBufSize(), which limits growth to TConfiguration's configured maximum message size and throws a TTransportException when that limit is reached.

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 use the C++ THttpServer or THttpClient transport to read HTTP-framed Thrift traffic from a peer that can omit the terminating CRLF.

Package

thrift

Versions

0.2.0 - 0.24.0

Fixed in 0.25.0

Background info

thrift is vulnerable to Heap-based Buffer Overflow in versions 0.2.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