CVE-2025-4565: google protobuf-python Uncontrolled Recursion
Vulnerability summary
CVE-2025-4565 is a high (CVSS 8.2) Uncontrolled Recursion vulnerability in google protobuf-python. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 15.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 15Timeline
- 16-06-2025PublishedVulnerability first disclosed.
- 16-06-2025Last modifiedVulnerability information updated.
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
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · PypiEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
0.00 pp
From 0.26% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse20 products
- protobuf&distro=SUSE Linux Enterprise Micro 5.1< 3.9.2-150200.4.27.1
- protobuf&distro=SUSE Linux Enterprise Micro 5.2< 3.9.2-150200.4.27.1
- protobuf&distro=SUSE Linux Enterprise Micro 5.3< 25.1-150400.9.16.1 | < 3.9.2-150200.4.27.1
- protobuf&distro=SUSE Linux Enterprise Micro 5.4< 25.1-150400.9.16.1 | < 3.9.2-150200.4.27.1
- protobuf&distro=SUSE Linux Enterprise Micro 5.5< 25.1-150500.12.11.1 | < 3.9.2-150200.4.27.1
Chainguard19 products
- awx< 24.6.1-r9
- ghidra< 12.0.4-r0 | < 11.4-r0
- kserve< 0.15.2-r2
- kserve-agent< 0.15.2-r2
- kserve-agent-compat< 0.15.2-r2
Wolfi10 products
- kserve< 0.15.2-r2
- kserve-agent< 0.15.2-r2
- kserve-agent-compat< 0.15.2-r2
- kserve-manager< 0.15.2-r2
- kserve-manager-compat< 0.15.2-r2
Opensuse2 products
- protobuf&distro=openSUSE Leap 15.6< 25.1-150600.16.13.1
- protobuf&distro=openSUSE Tumbleweed< 31.1-1.1
Debian1 product
- protobuf< 3.21.12-3+deb12u1 | < 3.21.12-11+deb13u1 | < 3.21.12-12
Google1 product
- protobuf-python< 4.25.8 | ≥ 5.26.0, < 5.29.5 | ≥ 6.30.0, < 6.31.1
Protocolbuffers1 product
- python-protobuf< 4.25.8 | < 5.29.5 | < 6.31.1
PyPI1 product
- protobuf< 4.25.8 | ≥ 5.26.0rc1, < 5.29.5 | ≥ 6.30.0rc1, < 6.31.1
Ubuntu1 product
- protobufAll versions (No fix recorded) | < 2.6.1-1.3ubuntu0.1~esm4 | < 3.0.0-9.1ubuntu1.1+esm3 | < 3.6.1.3-2ubuntu5.2+esm2 | < 3.12.4-1ubuntu7.22.04.4 | < 3.21.12-8.2ubuntu0.2
9 vendors · 56 products
References
25 linksShow all 25 references
- pypi.org/project/protobufPACKAGE
- pypi.org/project/protobuf/PACKAGE