Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2025-4565

Unbounded recursion in Python Protobuf

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

protocolbuffers Python-Protobuf

Default version status: unaffected

  • 0 to < 4.25.8affected
  • 0 to < 5.29.5affected
  • 0 to < 6.31.1affected

protocolbuffers Python-Protobuf

Default version status: unaffected

  • 0 to < 4.25.8affected
  • 0 to < 5.29.5affected
  • 0 to < 6.31.1affected

References