Infinite loop Affecting thrift package, versions <0.24.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.61% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-THRIFT-19503870
  • published3 Sept 2026
  • disclosed27 Jul 2026
  • creditYu Bao

Introduced: 27 Jul 2026

CVE-2026-43871  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade thrift to version 0.24.0 or higher.

Overview

thrift is a package containing Rust bindings for the Apache Thrift RPC system.

Affected versions of this package are vulnerable to Infinite loop in TCompactProtocol varint decoding, which reads continuation bytes without enforcing a maximum byte count. An attacker can hang the process deserializing a message by sending a TCompactProtocol varint whose continuation bit stays set across an unbounded run of bytes. This requires the application to deserialize attacker-controlled TCompactProtocol input.

CVSS Base Scores

version 4.0
version 3.1