CVE Vulnerabilities

CVE-2025-4565

Uncontrolled Recursion

Published: Jun 16, 2025 | Modified: Jun 17, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

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

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Red Hat OpenShift Container Platform 4.19 RedHat openshift4/ose-dpu-intel-ipu-vsp-rhel9:v4.19.0-202507081507.p0.gb4d5e23.assembly.stream.el9 *
Protobuf Ubuntu devel *
Protobuf Ubuntu esm-infra-legacy/trusty *
Protobuf Ubuntu esm-infra/bionic *
Protobuf Ubuntu esm-infra/focal *
Protobuf Ubuntu esm-infra/xenial *
Protobuf Ubuntu jammy *
Protobuf Ubuntu noble *
Protobuf Ubuntu oracular *
Protobuf Ubuntu plucky *
Protobuf Ubuntu upstream *

Potential Mitigations

References