Home / Apache Software Foundation / Apache bRPC / CVE-2025-59789
CVE-2025-59789: is it exploited, and which versions of Apache Software Foundation Apache bRPC are affected and fixed?
CVE-2025-59789 is an uncontrolled recursion vulnerability in Apache Software Foundation Apache bRPC. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Apache bRPC before 1.15.0 (CVE record by apache). Fixed in 1.15.0 (CVE record by apache). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-59789?
Apache bRPC: Stack Exhaustion via Unbounded Recursion in JSON Parser
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.
From the CVE record by apache, last updated December 1, 2025, 15:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache bRPC | before 1.15.0 | 1.15.0 |
As the CVE record by apache states it, last updated December 1, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | brpc | before 1.15.0 | application |
NVD analysis (status Analyzed), last modified October 18, 2026, 20:10 UTC.
How severe is CVE-2025-59789?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-59789 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 1, 2025)
- EPSS
- 1.67% probability of exploitation activity in the next 30 days, percentile 77.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
Where are the vendor advisories and references?
- https://lists.apache.org/thread/ozmcsztcpxn61jxod8jo8q46jo0oc1zx vendor-advisory
- http://www.openwall.com/lists/oss-security/2025/12/01/1
Who found and reported it?
- Tyler Zars (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 20, 2025
- Published
- December 1, 2025, 10:22 UTC
- CVE record updated
- December 1, 2025, 15:05 UTC by apache
- NVD
- Analyzed, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache bRPC?
- Oct 21, 2026CVE-2026-90484 Apache Software Foundation Apache bRPC: NULL pointer dereference (crash)
- Oct 21, 2026CVE-2026-87849 Apache Software Foundation Apache bRPC: out-of-bounds read
- Oct 21, 2026CVE-2026-86249 Apache Software Foundation Apache bRPC: authentication bypass (improper authentication)
- Oct 21, 2026CVE-2026-86147 Apache Software Foundation Apache bRPC: external Control of File Name or Path
- Oct 21, 2026CVE-2026-86146 Apache Software Foundation Apache bRPC: HTTP request smuggling
- Oct 21, 2026CVE-2026-84748 Apache Software Foundation Apache bRPC: improper authorization
- Oct 21, 2026CVE-2026-84747 Apache Software Foundation Apache bRPC: interpretation Conflict
- Oct 21, 2026CVE-2026-84727 Apache Software Foundation Apache bRPC: use after free
Questions about CVE-2025-59789
Is CVE-2025-59789 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 1.67% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache bRPC are affected by CVE-2025-59789?
Apache bRPC before 1.15.0, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2025-59789?
1.15.0, per the CVE record by apache. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-59789?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-59789?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.