CVE-2025-59789: Apache bRPC · Uncontrolled Recursion
Affects Apache bRPCSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 1.15.0 soon.
Data as of 23 Nov 2026, 21:14 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 7.5 |
|---|
- EPSS
- 1.6% chance of exploitation in 30 days – higher than 77% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.15.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade apache/brpc to 1.15.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubapache/brpcpkg:github/apache/brpcOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should prioritize upgrading Apache bRPC to version 1.15.0, which contains the official fix for this vulnerability. If immediate upgrade is not feasible, applying the patch from the Apache bRPC GitHub repository (PR #3099) is recommended. After applying the fix, review and adjust the gflag json2pb_max_recursion_depth to accommodate legitimate JSON/protobuf message depths without compromising security. Implement network-level protections such as web application firewalls (WAFs) and rate limiting to detect and block anomalous requests with excessively deep JSON structures. Monitor logs for repeated crashes or malformed JSON payloads indicative of exploitation attempts. Conduct thorough testing of applications using bRPC to identify any legitimate use cases of deep recursion that may be affected by the recursion depth limit and refactor them if necessary. Additionally, segment and isolate bRPC services to minimize the blast radius of potential DoS attacks. Maintain up-to-date threat intelligence feeds to detect emerging exploit attempts targeting this vulnerability.
Description
Uncontrolled recursion in the json2pb component in Apache bRPC (version < 1.15.0) on all platforms allows remote attackers to make the server crash via sending deep recursive json data. Root Cause: The bRPC json2pb component uses rapidjson to parse json data from the network. The rapidjson parser uses a recursive parsing method by default. If the input json has a large depth of recursive structure, the parser function may run into stack overflow. Affected Scenarios: Use bRPC server with protobuf message to serve http+json requests from untrusted network. Or directly use JsonToProtoMessage to convert json from untrusted input. How to Fix: (Choose one of the following options) 1. Upgrade bRPC to version 1.15.0, which fixes this issue.2. Apply this patch: https://github.com/apache/brpc/pull/3099 Note: No matter which option you choose, you should know that the fix introduces a recursion depth limit with default value 100. It affects these functions: ProtoMessageToJson, ProtoMessageToProtoJson, JsonToProtoMessage, and ProtoJsonToProtoMessage. If your requests contain json or protobuf messages that have a depth exceeding the limit, the request will be failed after applying the fix. You can modify the gflag json2pb_max_recursion_depth to change the limit.