Logo
componentpython3-protobuf
Name
python3-protobuf
Version
3.20.3
Type
library
Description
-
Licenses
BSD-3-Clause
PURL
-
CPE
cpe:2.3:*:*:protobuf-python:3.20.3:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
6.33.6
scarthgap
4.25.8

Patches#


#
Title
Author
Resolve
1
Manually backport recursion limit enforcement to 25.x
shaod2 <shaod@google.com>
CVE-2025-4565
2
Fix Any recursion depth bypass in Python
zhangskz <sandyzhang@google.com>
CVE-2026-0994

Vulnerabilities#


Name
Analysis
Description
Patched
A denial-of-service (DoS) vulnerability exists in google.protobuf.json_format.ParseDict() in Python, where the max_recursion_depth limit can be bypassed when parsing nested google.protobuf.Any messages. Due to missing recursion depth accounting inside the internal Any-handling logic, an attacker can supply deeply nested Any structures that bypass the intended recursion limit, eventually exhausting Python’s recursion stack and causing a RecursionError.
Patched
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