Intel

AIKIDO-2026-788986

thrift is vulnerable to Memory Corruption

Memory CorruptionCVE-2026-93925 Published 6 days ago

87

High Risk

This Affects:

C++thrift
0.10.0 - 0.24.0
Fixed in 0.25.0
Are you affected? Scan for Free

TL;DR

writeVarint32() encodes a header field into a fixed 5-byte stack buffer by shifting a signed 32-bit value. A negative value keeps its sign bit through every shift, so the loop never stops and writes past the buffer. The fix encodes an unsigned copy of the value so the loop stays inside the 5-byte buffer.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you serialize THeader frames whose protocol id can be a negative value.

Background info

thrift is vulnerable to Memory Corruption in versions 0.10.0 - 0.24.0.

How to fix this

Upgrade the 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