CVE-2025-4565 Details
Description
Any project that uses Protobuf Pure-Python backend to parse untrusted Protocol Buffers data containing an arbitrary number of recursive groups, recursive messages or a series of SGROUP tags can be corrupted by exceeding the Python recursion limit. This can result in a Denial of service by crashing the application with a RecursionError. We recommend upgrading to version =>6.31.1 or beyond commit 17838beda2943d08b8a9d4df5b68f5f04f26d901
A denial-of-service vulnerability has been identified in the Protobuf library's pure-Python backend. This issue arises when untrusted Protocol Buffers data is parsed, particularly if it contains recursive groups, recursive messages, or a series of SGROUP tags. The vulnerability exploits Python's recursion limit, leading to a RecursionError that crashes the application. The problem is present in Protobuf versions prior to 6.31.1.
Users are advised to upgrade to Protobuf version 6.31.1 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/protocolbuffers/protobuf/commit/17838beda2943d08b8a9d4df5b68f5f04f26d901 | [email protected] | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| google protobuf-python | < 4.25.8 >= 5.26.0, < 5.29.5 >= 6.30.0, < 6.31.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 14, 2025 | Reanalysis | [email protected] |
| Aug 7, 2025 | Initial Analysis | [email protected] |
| Jun 16, 2025 | New CVE Received | [email protected] |