Infinite loop 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.41% (34th 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-PYTHON-THRIFT-20571817
  • published8 Oct 2026
  • disclosed2 Oct 2026
  • creditUnknown

Introduced: 2 Oct 2026

NewCVE-2026-94654  (opens in a new tab)
CWE-835  (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 Infinite loop in the Python TNonblockingServer, which busy-loops and stops selecting on any of its file descriptors once a frame ends exactly on an 8192 byte boundary. An attacker can pin the server at full CPU and stop it serving every connection it holds, by sending a single frame whose length lands on that boundary. This requires the application to use the Python bindings with TNonblockingServer, and the effect reaches all clients of that server rather than only the connection that triggered it.

CVSS Base Scores

version 4.0
version 3.1