Intel

AIKIDO-2026-703922

thrift is vulnerable to Denial of Service (DoS)

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

82

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

TJSONProtocol::readJSONString and readJSONNumericChars accumulate JSON string and numeric bytes without comparing the running length to the configured maximum message size. A peer can send one oversized token and force an unbounded allocation. The fix stops reading once the accumulated length exceeds getMaxMessageSize().

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 deserialize Thrift JSON messages from an untrusted peer.

Package

thrift

Versions

0.2.0 - 0.24.0

Fixed in 0.25.0

Background info

thrift is vulnerable to Denial of Service (DoS) 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