Intel

AIKIDO-2026-202191

thrift is vulnerable to Uncontrolled Recursion

Uncontrolled RecursionCVE-2026-41606 Published Today

53

Medium Risk

This Affects:

C++thrift
0.0.1 - 0.23.0
Fixed in 0.24.0
Are you affected? Scan for Free

TL;DR

The c_glib protocol dispatch recurses while decoding nested Thrift structures without an effective bound tied to the incoming message. A crafted message with deeply nested fields drives that recursion until the native call stack is exhausted. Processing such input aborts the server handling the connection, causing a denial of service. The fix constrains nesting depth so untrusted payloads cannot recurse without bound.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the c_glib bindings to deserialize untrusted Thrift messages.

Background info

thrift is vulnerable to Uncontrolled Recursion in versions 0.0.1 - 0.23.0.

How to fix this

Upgrade the apache.thrift library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform