CVE-2025-4565

Summary

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 Software

VendorProductVersion RangeStatus
protocolbuffersPython-Protobuf0 < 4.25.8affected
protocolbuffersPython-Protobuf0 < 5.29.5affected
protocolbuffersPython-Protobuf0 < 6.31.1affected
protocolbuffersPython-Protobuf0 < 4.25.8affected
protocolbuffersPython-Protobuf0 < 5.29.5affected
protocolbuffersPython-Protobuf0 < 6.31.1affected

Weaknesses

  • CWE-674: CWE-674 Uncontrolled Recursion

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

References