Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-94653 Overview
CVE-2026-94653 is an Inefficient Algorithmic Complexity vulnerability [CWE-407] affecting the PHP bindings of Apache Thrift. The flaw allows a remote, unauthenticated attacker to trigger disproportionate resource consumption by sending crafted input to a Thrift service. Successful exploitation results in a denial-of-service condition against the targeted application.
The vulnerability affects all releases of Apache Thrift prior to 0.25.0. The Apache Thrift project has released version 0.25.0, which remediates the issue. Operators running Thrift-based PHP services exposed over the network should prioritize upgrading.
Critical Impact
A remote attacker can send specially crafted requests that force the PHP Thrift binding into pathological processing paths, exhausting CPU and causing service unavailability without authentication or user interaction.
Affected Products
- Apache Thrift PHP bindings, all versions before 0.25.0
- Applications and services deserializing Thrift messages using the PHP library
- Downstream frameworks and RPC endpoints embedding the vulnerable PHP bindings
Discovery Timeline
- 2026-10-02 - CVE-2026-94653 published to the National Vulnerability Database (NVD)
- 2026-10-05 - Last updated in NVD database
Technical Details for CVE-2026-94653
Vulnerability Analysis
The issue is categorized under CWE-407: Inefficient Algorithmic Complexity. The PHP implementation of Apache Thrift contains a code path whose runtime grows non-linearly relative to attacker-controlled input size or structure. An attacker can submit a small, well-formed request that forces the deserializer or protocol handler into a worst-case processing pattern.
Because Thrift is commonly deployed as a backend RPC transport, a single abusive client can tie up PHP worker processes. Repeated requests saturate the available worker pool, blocking legitimate traffic. The impact is scoped to availability; integrity and confidentiality are not affected per the published vector.
For the complete vendor discussion, see the Apache Thrift mailing list thread and the Apache security communication.
Root Cause
The root cause is an algorithm within the PHP Thrift bindings that lacks bounded complexity when processing adversarial input. Operations that should execute in linear time instead scale super-linearly, allowing modest input to translate into large CPU cost. Version 0.25.0 corrects the handling path so that resource usage remains proportional to input size.
Attack Vector
The attack vector is network-based and requires no authentication or user interaction. An attacker directs crafted Thrift messages at any exposed PHP endpoint using the vulnerable binding. No code execution or data disclosure occurs; the attacker's objective is to exhaust CPU resources on the server and deny service to legitimate users.
No public proof-of-concept exploit code has been published at the time of writing. The vulnerability mechanism is described in prose because verified exploitation code is not available.
Detection Methods for CVE-2026-94653
Indicators of Compromise
- Sustained PHP-FPM or PHP worker CPU utilization above baseline tied to Thrift request handling
- Growing request latency and queue depth on Thrift RPC endpoints without a corresponding traffic volume increase
- Repeated small requests from a single source address producing disproportionate server load
Detection Strategies
- Inventory applications using the Apache Thrift PHP library and record their installed version against 0.25.0
- Correlate web server access logs with PHP worker CPU time to identify requests that consume outlier processing budgets
- Baseline normal Thrift payload sizes and processing durations so pathological inputs stand out
Monitoring Recommendations
- Alert on PHP worker saturation events and request timeouts on Thrift service endpoints
- Track per-source request rates to Thrift listeners and flag low-volume sources that cause high aggregate CPU use
- Monitor process restarts and OOM events on hosts running Thrift PHP services
How to Mitigate CVE-2026-94653
Immediate Actions Required
- Upgrade Apache Thrift to version 0.25.0 or later across all PHP services and dependencies
- Identify embedded or vendored copies of the Thrift PHP library in internal projects and update them
- Restrict exposure of Thrift RPC endpoints to trusted networks where business requirements allow
Patch Information
The Apache Thrift project fixed this issue in version 0.25.0. Users are recommended to upgrade to this release. Refer to the Apache Thrift mailing list announcement for release details and the associated discussion thread.
Workarounds
- Place a reverse proxy or API gateway in front of Thrift endpoints to enforce request size and rate limits
- Set strict PHP execution time limits (max_execution_time) and request body size caps to bound worst-case resource use
- Deploy Web Application Firewall rules that drop oversized or malformed Thrift payloads at the perimeter
# Example: upgrade Apache Thrift PHP bindings via Composer
composer require apache/thrift:^0.25.0
# Verify the installed version
composer show apache/thrift | grep versions
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

