Uncontrolled Recursion Affecting protobufjs-cli package, versions <1.2.1>=2.0.0-experimental <2.0.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (14th 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 Learn

Learn about Uncontrolled Recursion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PROTOBUFJSCLI-16643263
  • published13 May 2026
  • disclosed12 May 2026
  • creditPeak Twilight, VladimirEliTokarev, AKileX, ByunSuyoung

Introduced: 12 May 2026

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

How to fix?

Upgrade protobufjs-cli to version 1.2.1, 2.0.2 or higher.

Overview

protobufjs-cli is a Translates between file formats and generates static code as well as TypeScript definitions.

Affected versions of this package are vulnerable to Uncontrolled Recursion through unbounded recursion when decoding nested message fields. An attacker can exhaust the call stack and cause the application to crash by supplying specially crafted protobuf binary data containing deeply nested structures.

Workaround

This vulnerability can be mitigated by rejecting excessively nested messages at an outer protocol boundary or isolating protobuf decoding in a process that can be safely restarted.

CVSS Base Scores

version 4.0
version 3.1