CVE-2026-94653

Apache Thrift: PHP framed/memory/HTTP transports re-slice the buffer on every read (quadratic)

Published Oct 2, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
Inefficient Algorithmic Complexity vulnerability in Apache Thrift PHP 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

The vulnerability arises from an inefficient algorithmic complexity in the PHP bindings of Apache Thrift. When using framed, memory, or HTTP transports, the buffer is re‑sliced on every read, causing a quadratic growth in processing time and memory consumption. An attacker could exploit this by sending specially crafted data to trigger the re‑slicing repeatedly, leading to high CPU load or memory exhaustion and ultimately a denial of service.

Affected Systems

This flaw affects all Apache Thrift PHP bindings with a version prior to 0.25.0. The affected vendor is the Apache Software Foundation, and the product is Apache Thrift. Any system running Thrift PHP transports older than 0.25.0 is potentially vulnerable.

Risk and Exploitability

The CVSS score for this vulnerability is 8.2, indicating high severity. The EPSS score is not available, but the lack of a KEV listing suggests that there is no current widespread exploitation, though the high complexity makes remote exploitation viable. An attacker can trigger the quadratic algorithm by feeding large or crafted input over the vulnerable transports, consuming server resources. Systems that rely on these transports without mitigations are at risk of denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache Thrift 0.25.0 or newer, which eliminates the quadratic re-slicing behavior.
  • If a rapid upgrade is not possible, disable the PHP framed, memory, or HTTP transports in configuration or replace them with alternative transports that do not re‑slice buffers.
  • Monitor application performance for abnormal memory or CPU spikes and apply input size limits or rate limiting until a patch can be applied.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift
Type Values Removed Values Added
Description Inefficient Algorithmic Complexity vulnerability in Apache Thrift PHP 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: PHP framed/memory/HTTP transports re-slice the buffer on every read (quadratic)
Weaknesses CWE-407
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-407

    Inefficient Algorithmic Complexity

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 5, 2026, 4:15 PM
Reserved
Sep 21, 2026, 11:25 PM
Status
Deferred
Published
Oct 2, 2026, 12:17 PM
Modified
Oct 5, 2026, 5:17 PM