CVE-2025-4565
June 16, 2025
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
Affected Packages
protobuf (CONDA):
Affected version(s) >=2.6.1 <4.25.8Fix Suggestion:
Update to version 4.25.8protobuf (CONDA):
Affected version(s) >=5.26.1 <5.29.5Fix Suggestion:
Update to version 5.29.5https://github.com/protocolbuffers/protobuf.git (GITHUB):
Affected version(s) >=v6.30.0-rc1 <v6.31.1Fix Suggestion:
Update to version v6.31.1https://github.com/protocolbuffers/protobuf.git (GITHUB):
Affected version(s) >=v5.26.0-rc1 <v5.29.5Fix Suggestion:
Update to version v5.29.5https://github.com/protocolbuffers/protobuf.git (GITHUB):
Affected version(s) >=v3.26.0-rc1 <v4.25.8Fix Suggestion:
Update to version v4.25.8https://github.com/protocolbuffers/protobuf.git (GITHUB):
Affected version(s) >=v2.4.1 <v3.25.8Fix Suggestion:
Update to version v3.25.8protobuf (PYTHON):
Affected version(s) >=2.0.0beta <4.25.8Fix Suggestion:
Update to version 4.25.8protobuf (PYTHON):
Affected version(s) >=5.26.0rc1 <5.29.5Fix Suggestion:
Update to version 5.29.5protobuf (PYTHON):
Affected version(s) >=5.26.0rc1 <5.29.5Fix Suggestion:
Update to version 5.29.5protobuf (PYTHON):
Affected version(s) >=6.30.0rc1 <6.31.1Fix Suggestion:
Update to version 6.31.1protobuf (PYTHON):
Affected version(s) >=2.0.0beta <4.25.8Fix Suggestion:
Update to version 4.25.8protobuf (PYTHON):
Affected version(s) >=6.30.0rc1 <6.31.1Fix Suggestion:
Update to version 6.31.1Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.01