CVE-2026-85476

Apache Thrift: c_glib `read_all` spins when the underlying read returns 0

Published Oct 2, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 2, 2026, 5:17 PM
Reserved
Sep 3, 2026, 8:49 PM
Status
Deferred
Published
Oct 2, 2026, 1:17 PM
Modified
Oct 2, 2026, 6:17 PM