Uncontrolled Recursion Affecting libthriftnb package, versions <0.25.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.26% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-LIBTHRIFTNB-20831008
  • published12 Oct 2026
  • disclosed2 Oct 2026

Introduced: 2 Oct 2026

NewCVE-2026-66858  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Minimos:latest libthriftnb to version 0.25.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libthriftnb package and not the libthriftnb package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1