Skip to main content

Apache Thrift EUVDEUVD-2026-49146

| CVE-2026-43871 HIGH
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
8.7
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted Thrift message with malformed varint
  2. Exploit
    Trigger infinite loop in TCompactProtocol parser
  3. Execution
    Exhaust CPU resources
  4. Impact
    Service becomes unresponsive to legitimate requests

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Thrift service must be using TCompactProtocol (the default compact wire format) and be reachable over the network. No authentication is required if the service accepts unauthenticated connections. If the service enforces authentication, the attacker requires valid credentials. The vulnerability does not affect other protocols like TBinaryProtocol.

Impact

Analyst-assessed CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) for an unauthenticated, network-exploitable denial of service. No official CVSS vector, EPSS data, KEV listing, or public exploit code are available. Real-world risk is moderate: a successful DoS can disrupt services, but lacks the immediate urgency of actively exploited or high-impact confidentiality/integrity issues. Exposure depends on network accessibility of Thrift endpoints using TCompactProtocol.

Exploit ScenarioDerived

An attacker sends a specially crafted Thrift message with a malformed varint byte-count prefix to a service using TCompactProtocol. The parser enters an infinite loop, driving CPU to 100% and preventing the service from handling legitimate requests, causing a denial of service.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 26, 2026

Denial of service vulnerability in Apache Thrift's TCompactProtocol implementation allows remote attackers to trigger infinite loops when processing malformed varint input, affecting Python, Go, PHP, and Java bindings before version 0.24.0. Exploitation can exhaust CPU resources, making the service unresponsive; no active exploitation or public exploit code is known at this time.

RemediationAI

Upgrade to Apache Thrift 0.24.0 or later, which corrects the varint parsing loop. No official workarounds are documented. If immediate upgrade is not possible, consider switching to a non-vulnerable protocol (e.g., TBinaryProtocol) if appropriate for your service, or restrict network access to Thrift endpoints to trusted sources. Monitor CPU usage for sustained spikes indicative of an attack.

Affected VersionsENISA

Apache Thrift 0 <0.24.0

Affected Packages

composer apache/thrift fix: 0.24.0
composer github.com/apache/thrift fix: 0.24.0
composer org.apache.thrift:libthrift fix: 0.24.0
composer thrift fix: 0.24.0
go apache/thrift fix: 0.24.0
go github.com/apache/thrift fix: 0.24.0
go org.apache.thrift:libthrift fix: 0.24.0
go thrift fix: 0.24.0
maven apache/thrift fix: 0.24.0
maven github.com/apache/thrift fix: 0.24.0
maven org.apache.thrift:libthrift fix: 0.24.0
maven thrift fix: 0.24.0
pypi apache/thrift fix: 0.24.0
pypi github-com/apache/thrift fix: 0.24.0
pypi org-apache-thrift:libthrift fix: 0.24.0
pypi thrift fix: 0.24.0
euvd apache_thrift fix: 0.24.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 7 packages in composer, go, maven and 2 more

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lies in the variable-length integer (varint) decoder of Thrift's TCompactProtocol wire format. A crafted byte-count prefix can cause the parsing loop to never reach its exit condition, leading to an infinite loop (CWE-835). This affects the libthrift library in languages implementing TCompactProtocol: Python, Go, PHP, and Java, as identified by the CPE strings.

Know when Thrift gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Network-exploitable, low attack complexity, no privileges or user interaction required; only availability impact from CPU exhaustion.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 27, 2026 - 12:16 EUVD
CVE Published
Jul 24, 2026 - 22:28 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 207 maven packages depend on org.apache.thrift:libthrift (33 direct, 174 indirect)
  • 107 pypi packages depend on thrift (3 direct, 105 indirect)

Ecosystem-wide dependent count for version 0.24.0 and other introduced versions.

Threat Intelligence Overview

EPSS Score
1.1%
Top 38% exploitable
Prevalence
Medium
widely-used RPC framework in distributed systems, but deployment limited to Thrift-using services
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA MSRC Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Thrift

View all
CVE-2021-24028 CRITICAL
9.8 Apr 14

An invalid free in Thrift's table-based serialization can cause the application to crash or potentially result in code e

CVE-2026-55971 CRITICAL
9.3 Jul 24

Heap-based buffer overflow in Apache Thrift C++ THeaderTransport::untransform() allows remote code execution by sending

CVE-2026-48144 CRITICAL
9.1 Jul 24

Improper certificate validation in Apache Thrift c_glib TLS clients allows man-in-the-middle attackers to intercept or t

CVE-2026-58662 HIGH
8.7 Jul 24

Apache Thrift C++ library's THeaderTransport::readString() fails to properly validate info-header length, allowing an ou

CVE-2026-58389 HIGH
8.7 Jul 24

Denial of service vulnerability in Apache Thrift Rust bindings prior to 0.24.0 allows remote attackers to exhaust memory

CVE-2026-55969 HIGH
8.7 Jul 24

Denial of service in Apache Thrift through an integer overflow in the TProtocol::checkReadBytesAvailable() function affe

CVE-2026-55968 HIGH
8.7 Jul 24

Denial of service in Apache Thrift Node.js server bindings before 0.24.0 allows remote attackers to exhaust server CPU r

CVE-2026-48586 HIGH
8.7 Jul 24

Data amplification vulnerability in Apache Thrift's TZlibTransport allows remote attackers to exhaust server resources b

CVE-2026-48145 HIGH
8.2 Jul 24

TLS hostname verification bypass in Apache Thrift C++ bindings allows man-in-the-middle interception of Thrift RPC commu

CVE-2026-41604 HIGH
8.2 Apr 28

Out-of-bounds read vulnerability in Apache Thrift Swift implementation allows remote unauthenticated attackers to trigge

CVE-2019-3565 HIGH
7.5 May 06

Legacy C++ Facebook Thrift servers (using cpp instead of cpp2) would not error upon receiving messages with containers o

CVE-2019-3558 HIGH
7.5 May 06

Python Facebook Thrift servers would not error upon receiving messages with containers of fields of unknown type. Rated

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy