GHSA-367h-9jj5-w29f
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker positions as man-in-the-middle
-
DeliveryThrift c_glib client initiates TLS connection
-
ExploitAttacker intercepts and presents a valid but mismatched certificate
-
ExecutionClient accepts certificate without hostname verification
-
PersistEncrypted Thrift traffic flows through attacker
-
ImpactAttacker decrypts and manipulates RPC data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate host validation
|
| Exploitation Conditions | The client must be using the Apache Thrift c_glib TLS transport (TSocket with SSL/TLS) and connecting to a server over a network path that the attacker can intercept. No user interaction or authentication is required for the vulnerability itself; the client will automatically and silently fail to verify the hostname. The attack does not require any non-default configuration beyond enabling TLS transport, which is a standard feature. The attacker must be in a man-in-the-middle position, which could be achieved via ARP spoofing on a local network, compromise of a network infrastructure device, or by serving as a malicious proxy. |
| Impact | The vulnerability has a likely CVSS 3.1 base score of 7.4 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N), reflecting a network-exposed attack with high complexity because exploitation requires an active man-in-the-middle position. No EPSS score is available, but such vulnerabilities are typically not widely exploited automatically because of the prerequisite network position. The issue is not listed in CISA KEV and no proof-of-concept is known, suggesting low immediate risk. However, for deployments using Apache Thrift with c_glib over TLS, this represents a severe confidentiality and integrity risk if attackers can position themselves on the network path. The attack is automatable once an adversary achieves a privileged network position. The overall real-world risk is moderate, with a high potential impact but a high barrier to exploitation. |
| Exploit ScenarioDerived | An attacker with control of a network segment between a Thrift c_glib client and a legitimate TLS server presents a valid certificate issued to a domain they own. The client accepts the certificate without verifying that the server it connected to is the one identified in the certificate. The attacker can then decrypt, read, and modify all Thrift RPC messages, potentially stealing data or injecting malicious commands. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 26, 2026
Improper certificate validation in Apache Thrift c_glib TLS clients allows man-in-the-middle attackers to intercept or tamper with communications by presenting a valid certificate for a different hostname. The vulnerability affects all c_glib bindings prior to version 0.24.0 and can lead to complete compromise of confidentiality and integrity of Thrift RPC traffic. No active exploitation or public exploit code has been reported, but the fix is available in version 0.24.0.
RemediationAI
Upgrade the c_glib bindings to Apache Thrift version 0.24.0, which implements proper hostname verification. Until the upgrade is performed, mitigate risk by ensuring that all Thrift communications occur over trusted networks only, such as within an internal VPN or using mutual TLS with pre-shared certificates for individual hosts. Disabling TLS hostname verification may also be acceptable if the server certificate is specifically pinned per host. These compensating controls require careful certificate management and may break connectivity if not uniformly applied. The vendor advisory can be found at https://thrift.apache.org/.
Affected VersionsENISA
Affected Packages
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 framework for scalable cross-language services development. The c_glib bindings provide a C language interface using GLib. The root cause is the absence of hostname verification in the TLS client implementation, making it susceptible to CWE-295 (Improper Certificate Validation). This occurs because the TLS handshake only checks whether the certificate is signed by a trusted CA, not whether the certificate's Common Name (CN) or Subject Alternative Name (SAN) matches the intended server hostname. This class of flaw is common in custom TLS libraries that omit the hostname check, which is mandatory per RFC 2818 for HTTPS and generally necessary for secure client-server authentication.
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
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network attack with high complexity because MITM is required; client automatically connects so no user interaction; high data compromise.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An invalid free in Thrift's table-based serialization can cause the application to crash or potentially result in code e
Heap-based buffer overflow in Apache Thrift C++ THeaderTransport::untransform() allows remote code execution by sending
Apache Thrift C++ library's THeaderTransport::readString() fails to properly validate info-header length, allowing an ou
Denial of service vulnerability in Apache Thrift Rust bindings prior to 0.24.0 allows remote attackers to exhaust memory
Denial of service in Apache Thrift through an integer overflow in the TProtocol::checkReadBytesAvailable() function affe
Denial of service in Apache Thrift Node.js server bindings before 0.24.0 allows remote attackers to exhaust server CPU r
Data amplification vulnerability in Apache Thrift's TZlibTransport allows remote attackers to exhaust server resources b
Denial of service vulnerability in Apache Thrift's TCompactProtocol implementation allows remote attackers to trigger in
TLS hostname verification bypass in Apache Thrift C++ bindings allows man-in-the-middle interception of Thrift RPC commu
Out-of-bounds read vulnerability in Apache Thrift Swift implementation allows remote unauthenticated attackers to trigge
Legacy C++ Facebook Thrift servers (using cpp instead of cpp2) would not error upon receiving messages with containers o
Python Facebook Thrift servers would not error upon receiving messages with containers of fields of unknown type. Rated
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-49148
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB