Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-59789

7.5 · HIGH
Published Dec 1, 2025 apache CWE-674 EPSS 1.61% (74th pctl)

Overview

CVE-2025-59789 is a high-severity vulnerability affecting apache brpc. It was published on December 1, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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, Pr

Remediation

Check the references section for vendor advisories and patches from apache. Update brpc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
apache brpc >= 0, < 1.15.0 Affected

Frequently Asked Questions

What is CVE-2025-59789?

CVE-2025-59789 is a high-severity vulnerability affecting apache brpc. It was published on December 1, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2025-59789?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-59789?

Check the references section for vendor advisories and patches from apache. Update brpc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-59789?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-59789 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.