Allocation of Resources Without Limits or Throttling Affecting org.apache.thrift:libthrift package, versions [0.19.0,0.24.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.94% (79th 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-JAVA-ORGAPACHETHRIFT-18389002
  • published29 Jul 2026
  • disclosed27 Jul 2026
  • creditYashon, IcySun

Introduced: 27 Jul 2026

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

How to fix?

Upgrade org.apache.thrift:libthrift to version 0.24.0 or higher.

Overview

org.apache.thrift:libthrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the TCompactProtocol varint readers in TCompactProtocol.java. An attacker can force the parser to consume unbounded bytes by sending an overlong compact-protocol varint with the continuation bit set and no terminating byte, causing excessive read work and resource consumption while decoding fields such as readVarint32() and readVarint64(). This can exhaust CPU and memory handling malformed Thrift traffic, slowing or destabilizing services that accept untrusted compact-protocol input. The impact is denial of service for applications using the Java compact protocol implementation.

CVSS Base Scores

version 4.0
version 3.1