Skip to content
Heist/ feed
High

Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: skip() does not apply the recursion limit (Python accelerator, PHP, Perl, Lua, Smalltalk, OCaml)

Type: advisorySource: Official CVE List1 source record

The protocol skip routine in several Apache Thrift bindings did not apply the binding's recursion limit, so a message that nests unknown fields deeply enough can exhaust the stack. Affected: the Python C++ accelerator (the pure-Python protocols are not affected), the PHP library and its thrift_protocol extension, and the Perl, Lua, Smalltalk and OCaml libraries. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.

Announced Source revision 1
Original source ↗

CVE-2026-66858

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-66858

Apache Thrift

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Apache Thrift

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Apache Thrift

Source reference: /containers/cna/affected/2/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Apache Thrift

Source reference: /containers/cna/affected/3/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Apache Thrift

Source reference: /containers/cna/affected/4/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Apache Thrift

Source reference: /containers/cna/affected/5/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache Thrift",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.25.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:pypi/thrift",
    "packageName": "thrift",
    "collectionURL": "https://pypi.python.org",
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache Thrift",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.25.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:composer/apache/thrift",
    "packageName": "apache/thrift",
    "collectionURL": "https://packagist.org",
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache Thrift",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.25.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:cpan/Thrift",
    "packageName": "Thrift",
    "collectionURL": "https://cpan.org/modules",
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache Thrift",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.25.0",
        "versionType": "semver"
      }
    ],
    "packageName": "Lua",
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache Thrift",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.25.0",
        "versionType": "semver"
      }
    ],
    "packageName": "Smalltalk",
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache Thrift",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "0.25.0",
        "versionType": "semver"
      }
    ],
    "packageName": "OCaml",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-66858

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#8048 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement