CVE-2025-4565

published 16 Jun 2025 · updated 16 Nov 2026

Unbounded recursion in Python Protobuf

8.2HighCVSS 8.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.25.8, 5.29.5 and 6.31.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
protocolbuffers<4.25.8, <5.29.5, <6.31.14.25.8, 5.29.5, 6.31.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-4565 severity on Zeptric[![CVE-2025-4565](https://zeptric.io/badge/cve/CVE-2025-4565.svg)](https://zeptric.io/cve/CVE-2025-4565)