CVE-2025-4565 — Uncontrolled Recursion in Python-protobuf
Severity
8.2HIGHNVD
OSV8.7
EPSS
0.0%
top 96.46%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 16
Latest updateSep 2
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
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Affected Packages19 packages
Patches
🔴Vulnerability Details
5OSV▶
CVE-2025-4565: Any project that uses Protobuf Pure-Python backend to parse untrusted Protocol Buffers data containing an arbitrary number of recursive groups, recurs↗2025-06-16
📋Vendor Advisories
5Debian▶
CVE-2025-4565: protobuf - Any project that uses Protobuf Pure-Python backend to parse untrusted Protocol B...↗2025