VDB

CVE-2025-4565

CVE-2025-4565 PUBLISHED CVSS 8.2 HIGH

Unbounded recursion in Python Protobuf

Reported by google · Published June 16, 2025

protobuf is fixed in 6.31.1, 5.29.5 and 4.25.8 (PyPI)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
protobufPyPI6.31.1, 5.29.5, 4.25.8
protobufGitHub Packages6.31.1, 5.29.5, 4.25.8
Python-ProtobufPyPI6.31.1, 5.29.5, 4.25.8
text-generation-inferenceChainguard3.3.6-r3
nemoChainguard2.3.1-r4
datadog-agent-fipsChainguard7.67.0-r1
datadog-agentWolfi7.67.0-r1
request-1276Chainguard0.24.1-r1
datadog-agentChainguard7.67.0-r1
kserveWolfi0.15.2-r2
grafana-oncallWolfi1.16.3-r0
awxChainguard24.6.1-r9

5 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
8.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
protocolbuffersPython-Protobuf0, 0, 0
protocolbuffersPython-Protobuf0, 0, 0
chainguardtext-generation-inference0
chainguardnemo0
PyPIprotobuf0, 6.30.0rc1, 5.26.0rc1
chainguarddatadog-agent-fips0
wolfidatadog-agent0
chainguardrequest-12760
chainguarddatadog-agent0
wolfikserve0
wolfigrafana-oncall0
chainguardawx0
chainguardspamcheck0
chainguardgrafana-oncall0
protocolbuffersPython-Protobuf0, 0, 0
chainguardkserve0
chainguardghidra0
protocolbuffersPython-Protobuf0, 0, 0

Timeline

  • Jun 16, 2025 CVE Published
  • Jun 16, 2025 CVE Updated
  • Jun 17, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 21, 2025 Coalition ESS Score (22 in total, the first dated here)
  • Mar 9, 2026 Security Advisory (5 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (4 in total, the first dated here)
  • Nov 3, 2026 PoC Published

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-4565
vulnetix vdb fixes CVE-2025-4565

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4565/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›