Description
Loop with unreachable exit condition ('infinite loop') vulnerability in Apache Thrift c_glib bindings.



This issue affects Apache Thrift: before 0.25.0.



Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Published: 2026-10-02
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via infinite loop
Action: Immediate Patch
AI Analysis

Impact

An infinite loop occurs in the C GLib bindings for Apache Thrift when the underlying read operation returns zero bytes; the read_all function repeatedly spins, depleting CPU resources and causing a denial of service. The weakness is classified as CWE-835, reflecting a loop with an unreachable exit.

Affected Systems

Apache Thrift releases before version 0.25.0 are affected. The vulnerability exists in the c_glib binding layer of the library and applies to any deployment that links against those older Apache Thrift binaries.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity, but no EPSS data is currently available and the issue is not listed in CISA’s KEV catalog. Exploitation would require the ability to interact with a Thrift service that uses the vulnerable c_glib bindings, delivering input that triggers a zero‑byte read. The resultant denial of service could be achieved by a remote attacker with network access to the Thrift endpoint or by a local attacker who can influence the data stream to the binding.

Generated by OpenCVE AI on October 2, 2026 at 13:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Thrift to version 0.25.0 or later, ensuring that the updated library is installed in all environments that use the c_glib bindings.
  • Rebuild or reconfigure any dependent applications to link against the newer Thrift library and deploy the updated binaries.
  • Restart the affected services and monitor system resources and application logs to confirm that the infinite looping behavior has ceased.

Generated by OpenCVE AI on October 2, 2026 at 13:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 04 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift

Sat, 03 Oct 2026 06:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 02 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Description Loop with unreachable exit condition ('infinite loop') vulnerability in Apache Thrift c_glib bindings. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Title Apache Thrift: c_glib `read_all` spins when the underlying read returns 0
Weaknesses CWE-835
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-02T17:17:32.106Z

Reserved: 2026-09-03T20:49:59.855Z

Link: CVE-2026-85476

cve-icon Vulnrichment

Updated: 2026-10-02T17:17:24.749Z

cve-icon NVD

Status : Deferred

Published: 2026-10-02T13:17:59.290

Modified: 2026-10-02T18:17:06.490

Link: CVE-2026-85476

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-04T20:54:10Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')