Description
Stack-based Buffer Overflow, Integer Overflow or Wraparound 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.
Published: 2026-10-02
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

A stack‑based buffer overflow exists in the Apache Thrift PHP bindings; the vulnerability arises when an attacker supplies a Thrift message containing a string length value that, when interpreted, causes an integer overflow. This overflow leads to an improperly sized stack buffer, allowing memory corruption and potentially arbitrary code execution within the PHP process.

Affected Systems

All Apache Thrift PHP bindings prior to version 0.25.0 are affected. Applications that import the Thrift PHP library must verify the installation version and determine whether the service exposes a vulnerable endpoint.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity flaw. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker could exercise the vulnerability by sending a carefully crafted Thrift packet over the network to a service that employs the vulnerable PHP bindings, manipulating the declared string length field to trigger the integer and subsequent buffer overflow. Such a network‑based exploitation path is plausible given the nature of the weakness.

Generated by OpenCVE AI on October 3, 2026 at 01:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Apache Thrift PHP bindings to version 0.25.0 or later, which contains the fix for the stack buffer overflow.
  • In PHP applications that cannot immediately upgrade, add defensive checks on incoming Thrift messages: validate the declared string length against a safe maximum before allocating buffers, and reject requests that exceed this limit.
  • Restrict access to services using the Thrift PHP bindings by firewalling or placing them behind a VPN, ensuring that only trusted networks can reach the vulnerable endpoints until the software is updated.

Generated by OpenCVE AI on October 3, 2026 at 01:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-787
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


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

Type Values Removed Values Added
Metrics ssvc

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


Fri, 02 Oct 2026 15:45:00 +0000

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

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

Type Values Removed Values Added
Description Stack-based Buffer Overflow, Integer Overflow or Wraparound 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 accelerator sizes a stack buffer from a wire-controlled string length
Weaknesses CWE-121
CWE-190
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/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-02T16:53:09.547Z

Reserved: 2026-07-27T22:11:51.955Z

Link: CVE-2026-66837

cve-icon Vulnrichment

Updated: 2026-10-02T16:53:03.587Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-02T17:17:07.240

Link: CVE-2026-66837

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-02T12:29:09Z

Links: CVE-2026-66837 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-03T01:30:18Z

Weaknesses