Ubuntu CVE Tracker
UBUNTU-CVE-2025-4565
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | protobuf | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | protobuf | All versions before 2.6.1-1.3ubuntu0.1~esm4 (fixed in 2.6.1-1.3ubuntu0.1~esm4) |
| Ubuntu:Pro:18.04:LTS | protobuf | All versions before 3.0.0-9.1ubuntu1.1+esm3 (fixed in 3.0.0-9.1ubuntu1.1+esm3) |
| Ubuntu:Pro:20.04:LTS | protobuf | All versions before 3.6.1.3-2ubuntu5.2+esm2 (fixed in 3.6.1.3-2ubuntu5.2+esm2) |
| Ubuntu:22.04:LTS | protobuf | All versions before 3.12.4-1ubuntu7.22.04.4 (fixed in 3.12.4-1ubuntu7.22.04.4) |
| Ubuntu:24.04:LTS | protobuf | All versions before 3.21.12-8.2ubuntu0.2 (fixed in 3.21.12-8.2ubuntu0.2) |