Intel

AIKIDO-2026-67670

thrift is vulnerable to Out-of-bounds Write

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

82

CVE Score

High

Out-of-bounds Write

Are you affected? Scan for Free

TL;DR

THeaderTransport::readFrame() subtracts the 4-byte magic length from an attacker-supplied frame size without checking that the size is at least that large. On a 32-bit process a smaller size wraps to a huge length and the following read or write runs past the buffer. The fix rejects a frame whose declared size is smaller than the magic word before that subtraction.

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 32-bit C++ service that accepts THeaderTransport connections from untrusted peers.

Package

thrift

Versions

0.10.0 - 0.24.0

Fixed in 0.25.0

Background info

thrift is vulnerable to Out-of-bounds Write 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