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.26% (17th 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-CONAN-THRIFT-21279784
  • published20 Oct 2026
  • disclosed2 Oct 2026
  • creditBin Luo

Introduced: 2 Oct 2026

NewCVE-2026-66055  (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

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the readJSONString and readJSONNumericChars methods of TJSONProtocol, which accumulate a value byte by byte without counting it against the configured string size limit, a limit the protocol does not implement at all and reports as unset. An attacker can exhaust memory on the peer with a single JSON string or number, because these values are delimited rather than length prefixed, so there is no declared size to reject before the bytes are consumed and nothing bounds the accumulation while they are. This requires an endpoint that uses TJSONProtocol, and the defect is present in the C++, Java, Go, netstd, Python, and Delphi bindings, while the container read path is separately unbounded and is not addressed as part of this issue.

CVSS Base Scores

version 4.0
version 3.1