Uncontrolled Recursion Affecting apache/brpc package, versions [,1.15.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (65th 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-UNMANAGED-APACHEBRPC-14152224
  • published1 Dec 2025
  • disclosed1 Dec 2025
  • creditTyler Zars

Introduced: 1 Dec 2025

NewCVE-2025-59789  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade apache/brpc to version 1.15.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion via the json2pb component, which uses rapidjson to parse JSON data from the network without any limits. An attacker can cause the server to crash by sending deeply nested JSON data that triggers unbounded recursion in the parser.

CVSS Base Scores

version 4.0
version 3.1