Apache Thrift Ruby bindings: Denial of service via uncaught exception
Summary
The Ruby bindings of Apache Thrift (thrift gem) fail to handle certain non-Transport/Protocol exceptions. The SimpleServer serve() loop ends on such an exception, which stops the service. An unauthenticated remote attacker who can reach a Ruby Thrift server over the network can cause a denial of service; confidentiality and integrity are not affected.
Affected
- Apache Thrift Ruby bindings (thrift gem) before 0.25.0
- Default configuration is unaffected according to the CNA record, which lists 0 to < 0.25.0 as affected
Fixed in
- Upgrade to Apache Thrift 0.25.0 (thrift gem 0.25.0)
- Check your distribution's advisory for its own package version; Unknown.
Workaround
- The CVE record lists no workaround beyond upgrading.
- Restrict network access to the Thrift service until the upgrade is done.
- Configure the service supervisor to restart crashed processes to shorten outages.
Exploitation
- No known exploitation in the wild; not listed in CISA KEV.
- No public proof-of-concept known.
- CISA SSVC: exploitation none, automatable yes, technical impact partial.
Our recommendation
- Identify Ruby applications that use the thrift gem, including transitive dependencies in Gemfile.lock files and container images.
- Restrict network exposure of Thrift services to trusted hosts.
- Upgrade the thrift gem to 0.25.0 in the next maintenance window.
- Monitor services for unexpected restarts or outages.
Public exploits
PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.
Research sources
- Apache Thrift 0.25.0 changelog apache.googlesource.com
- Apache mailing list thread 1 lists.apache.org
- Apache mailing list thread 2 lists.apache.org
- RubyGems thrift gem versions rubygems.org
- OSV entry CVE-2026-96277 osv.dev
- OpenCVE CVE-2026-96277 app.opencve.io
Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 1 Nov 2026, 05:47.
Original description (NVD)
Uncaught exception, Improper Handling of Exceptional Conditions vulnerability in Apache Thrift Ruby bindings. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Sources
The tracker combines official, freely usable data sources – updated continuously:
- NVD (NIST) – CVEs, rating (CVSS), affected products
- CISA KEV – vulnerabilities confirmed by CISA as actively exploited
- CISA Vulnrichment – CISA assessment (SSVC) in the official CVE record
- FIRST EPSS – probability of exploitation
- Microsoft MSRC – Patch Tuesday: vulnerabilities, severity, updates
- PoC-in-GitHub – public proof-of-concept repositories
- Metasploit (Rapid7) – modules of the Metasploit Framework
- Exploit-DB (OffSec) – archive of public exploits (links only)
- Patch days: official vendor pages (linked per vendor) (Vendor patch days)
This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.
Affected? We can help.
We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.
