Skip to main content

Apache Thrift CVE-2026-41606

| EUVDEUVD-2026-26024 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-04-28
5.3
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Attacker identifies Thrift service port
  2. Delivery
    Sends initial crafted Thrift message to c_glib dispatcher
  3. Exploit
    Triggers recursive stack overflow in dispatch handler
  4. Execution
    Stack exhaustion causes segmentation fault
  5. Persist
    Service process crashes
  6. Impact
    Denial of service to legitimate clients

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Remote unauthenticated exploitation against any Apache Thrift service using the c_glib language binding (versions prior to 0.23.0) accessible over the network. The attacker must be able to send Thrift protocol messages to the service; the vulnerability does not require authentication (PR:N per CVSS), special configuration, or user interaction. The service must be bound to a network interface (not localhost-only) for remote exploitation. Limiting factors: exploitation is specific to c_glib bindings and does not affect Thrift services using other language bindings (Java, Python, Go, etc.); the service must be processing Thrift protocol messages (not raw HTTP or other protocols wrapped around Thrift); and some operating systems or runtime environments with larger stack sizes may require more exploit iterations to trigger the crash, though the vulnerability is still exploitable.

Impact

This is a moderate denial-of-service vulnerability with clear real-world risk but limited technical impact. CVSS score of 5.3 reflects network accessibility (AV:N), low complexity (AC:L), no authentication (PR:N), and no user interaction (UI:N), all pointing to easy remote exploitation. However, the impact is limited to availability (A:L) with no confidentiality or integrity loss, making it a pure DoS. EPSS score of 0.02% (5th percentile) suggests low likelihood of automated exploitation despite public disclosure, likely because successful exploitation requires crafted Thrift protocol messages and most reconnaissance tools do not target Thrift services specifically. The active disclosure on oss-security and simultaneous CVE batch (CVE-2026-41602 through CVE-2026-41636) indicate vendor-coordinated responsible disclosure rather than uncontrolled public exposure. Organizations running Apache Thrift in production should prioritize patching, particularly services exposed to untrusted networks, but this is not an emergency-level vulnerability like remote code execution. Low EPSS despite low CVSS complexity suggests the practical attack surface is smaller than CVSS indicates - Thrift adoption is concentrated in specific enterprise RPC and microservice deployments, not broad internet exposure.

Exploit ScenarioDerived

An attacker sends a series of specially crafted Thrift protocol messages to a Thrift service using the c_glib binding, each message triggering recursive dispatch operations in the service handler. After a small number of requests (exact threshold depends on stack size and system configuration), the accumulated recursive calls exhaust the process stack, causing a segmentation fault and service crash. If the service is not behind a load balancer or health-check mechanism, client requests fail until manual intervention restarts the service. For services in Kubernetes or other orchestrated environments, repeated exploitation can trigger pod evictions and service instability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 28, 2026

Stack overflow in Apache Thrift c_glib dispatch mechanism allows remote attackers to trigger denial of service via crafted network requests. The vulnerability affects Apache Thrift versions prior to 0.23.0 and requires no authentication or user interaction, resulting in application crashes or service unavailability. Patch is available from the vendor.

RemediationAI

Upgrade Apache Thrift to version 0.23.0 or later. This is the vendor-released patch that addresses the stack overflow vulnerability in the c_glib dispatch mechanism. Organizations unable to upgrade immediately should implement network-level controls: restrict network access to Thrift service ports (typically 9090 for Thrift services) to trusted client IP ranges or internal networks only, and deploy network firewalling to prevent external attacker access. If service-level changes are feasible, disable the c_glib binding or migrate to alternative language bindings (Java, Python, Go) that do not exhibit this specific recursion flaw, though this may require architectural changes. Monitor service logs for repeated connection failures or crash patterns that indicate exploitation attempts. The workarounds come with trade-offs: network restriction reduces flexibility for distributed deployments, binding migration requires code rewrites, and crash monitoring adds operational overhead without preventing the vulnerability.

Affected VersionsENISA

Apache Thrift 0 <0.23.0

Affected Packages

euvd apache_thrift fix: 0.23.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Apache Thrift is a cross-language serialization and RPC framework. The c_glib language binding provides C implementations for Thrift protocol handling. The vulnerability stems from unbounded recursion in the dispatch stack (CWE-674: Uncontrolled Recursion), where malicious or malformed Thrift protocol messages can cause stack exhaustion. The c_glib dispatch mechanism processes incoming requests without sufficient depth validation, allowing remote attackers to exhaust stack memory and crash the service. This is distinct from the related Node.js skip() recursion (CVE-2026-41636), Swift Range crash (CVE-2026-41604), and Swift integer overflow (CVE-2026-41605) disclosed simultaneously, indicating systemic recursion and bounds-checking issues across multiple Thrift language bindings.

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 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
SUSE MEDIUM
Red Hat 7.5 HIGH

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 18:39 nvd
Patch available
CVSS changed
Apr 28, 2026 - 15:22 NVD
5.3 (MEDIUM)
Patch available
Apr 28, 2026 - 11:01 EUVD
CVE Published
Apr 28, 2026 - 00:45 nvd
MEDIUM 5.3

Description PRE-NVD

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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-43871 HIGH
8.7 Jul 24

Denial of service vulnerability in Apache Thrift's TCompactProtocol implementation allows remote attackers to trigger in

CVE-2026-41636 HIGH
8.7 Apr 28

Uncontrolled recursion in Apache Thrift Node.js library's skip() function enables remote denial of service via crafted p

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

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 12 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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