Allocation of Resources Without Limits or Throttling Affecting thrift package, versions [,0.25.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (35th 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-THRIFT-20571226
  • published8 Oct 2026
  • disclosed2 Oct 2026
  • creditHo1aAs

Introduced: 2 Oct 2026

NewCVE-2026-94634  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade thrift to version 0.25.0 or higher.

Overview

thrift is a Python bindings package for Apache Thrift.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the TJSONProtocol, whose string length limit is present but disabled by default, so a declared string length is honored without bound unless the application sets one. An attacker can exhaust the process memory by sending a message whose JSON string field declares a length far larger than what is transmitted. This requires the application to use the Python bindings with TJSONProtocol and to have left the limit at its default, and no non default configuration is needed on the attacker's side.

CVSS Base Scores

version 4.0
version 3.1