{
  "id": "CVE-2026-66858",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-66858",
  "published_at": "2026-10-02T12:27:31.412Z",
  "title": "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)",
  "vendor": "Apache Software Foundation",
  "product": "Apache Thrift",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.\n\n\n\nThis issue affects Apache Thrift: before 0.25.0.\n\n\n\nUsers are recommended to upgrade to version 0.25.0, which fixes the issue.",
  "cwe": "CWE-674",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Thrift",
        "ranges": [
          "\u003c 0.25.0"
        ],
        "fixed_in": [
          "0.25.0"
        ]
      },
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Thrift",
        "ranges": [
          "\u003c 0.25.0"
        ],
        "fixed_in": [
          "0.25.0"
        ]
      },
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Thrift",
        "ranges": [
          "\u003c 0.25.0"
        ],
        "fixed_in": [
          "0.25.0"
        ]
      },
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Thrift",
        "ranges": [
          "\u003c 0.25.0"
        ],
        "fixed_in": [
          "0.25.0"
        ]
      },
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Thrift",
        "ranges": [
          "\u003c 0.25.0"
        ],
        "fixed_in": [
          "0.25.0"
        ]
      },
      {
        "vendor": "Apache Software Foundation",
        "product": "Apache Thrift",
        "ranges": [
          "\u003c 0.25.0"
        ],
        "fixed_in": [
          "0.25.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Apache Thrift to 0.25.0 or later.",
      "Upgrade Apache Thrift to 0.25.0 or later.",
      "Upgrade Apache Thrift to 0.25.0 or later.",
      "Upgrade Apache Thrift to 0.25.0 or later.",
      "Upgrade Apache Thrift to 0.25.0 or later.",
      "Upgrade Apache Thrift to 0.25.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://lists.apache.org/thread/6kl6g40tpl8zt3opd8fwn6bsgyddzhd5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
