# CVE-2025-4565: Unbounded recursion in Python Protobuf

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-06-16 · Modified: 2025-06-16
- Aliases: SUSE-SU-2025:02309-1, SUSE-SU-2025:02310-1, SUSE-SU-2025:02311-1, SUSE-SU-2025:20514-1, SUSE-SU-2025:3722-1, GHSA-8qvm-5x2c-j2w7, PYSEC-2026-1806, UBUNTU-CVE-2025-4565, DEBIAN-CVE-2025-4565, CGA-2439-26fp-gw92, CGA-36px-mwww-9cr7, CGA-443p-325w-g83g, CGA-49c2-323p-6v78, CGA-4w92-4rpv-j436, CGA-5r32-6vx6-qfhp, CGA-5vv2-272q-975v, CGA-6xrr-f26x-gm59, CGA-7gfg-5pc6-663v, CGA-7m42-3ppv-6qjx, CGA-7qqh-qvp3-56p5, CGA-8j4h-mvh3-fq3p, CGA-f5cw-3393-mpgq, CGA-gcmf-jxh8-8p36, CGA-gm73-rvx2-h4vv, CGA-gqx5-w34h-cjqr, CGA-h89x-g3gr-q3mg, CGA-j8q8-73j4-359w, CGA-m9f2-qx2p-q9m2, CGA-p5mv-6q3g-xj8m, openSUSE-SU-2025:15265-1, CGA-26gc-99qq-mgpr, CGA-2f9p-prj2-xh97, CGA-46wr-w5cj-4pv7, CGA-8gcx-2jv7-mrf5, CGA-c8v2-qvqc-r4g2, CGA-f4m3-vx2v-v6rc, CGA-g6qq-qpxx-f352, CGA-jgph-hgqw-54hm, CGA-m5mm-xgc2-93rm, CGA-m76q-9p7p-67mp, CGA-mx94-r2fv-pvh6, CGA-rrp7-2x2h-cmfg, CGA-w3gf-4j52-v9x9, CGA-whv7-9v96-jg6f, CGA-wqwf-qmcx-q6vh, CGA-x6hp-588p-2322
- Record: https://cvemate.com/vulnerability/CVE-2025-4565 · JSON: https://cvemate.com/vulnerability/CVE-2025-4565/json

## Description

```text
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
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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
- EPSS: 0.259%, percentile 18.712%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 56)

- chainguard awx (Chainguard): \< 24.6.1-r9
- chainguard ghidra (Chainguard): \< 12.0.4-r0 \| \< 11.4-r0
- chainguard kserve (Chainguard): \< 0.15.2-r2
- chainguard kserve-agent (Chainguard): \< 0.15.2-r2
- chainguard kserve-agent-compat (Chainguard): \< 0.15.2-r2
- chainguard kserve-manager (Chainguard): \< 0.15.2-r2
- chainguard kserve-manager-compat (Chainguard): \< 0.15.2-r2
- chainguard kserve-qpext (Chainguard): \< 0.15.2-r2
- chainguard kserve-qpext-compat (Chainguard): \< 0.15.2-r2
- chainguard kserve-router (Chainguard): \< 0.15.2-r2
- chainguard kserve-router-compat (Chainguard): \< 0.15.2-r2
- chainguard kserve-storage-controller (Chainguard): \< 0.15.2-r2
- chainguard nemo (Chainguard): \< 2.3.1-r4
- chainguard request-1276 (Chainguard): \< 0.24.1-r1
- chainguard request-1276-compat (Chainguard): \< 0.24.1-r1
- chainguard spamcheck (Chainguard): \< 3.5.3-r3
- chainguard spamcheck-compat (Chainguard): \< 3.5.3-r3
- chainguard text-generation-inference (Chainguard): \< 3.3.6-r3
- chainguard text-generation-inference-compat (Chainguard): \< 3.3.6-r3
- wolfi kserve (Wolfi): \< 0.15.2-r2

## References (first 20 of 25)

- <https://github.com/protocolbuffers/protobuf/commit/17838beda2943d08b8a9d4df5b68f5f04f26d901>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202502309-1/>
- <https://bugzilla.suse.com/1244663>
- <https://www.suse.com/security/cve/CVE-2025-4565>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202502310-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202502311-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202520514-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20253722-1/>
- <https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-735f-pc8j-v9w8>
- <https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8qvm-5x2c-j2w7>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4565>
- <https://github.com/protocolbuffers/protobuf>
- <https://github.com/protocolbuffers/protobuf/blob/main/python/google/protobuf/internal/decoder_test.py#L87-L98>
- <https://github.com/protocolbuffers/protobuf/blob/main/python/google/protobuf/internal/message_test.py#L1436-L1478>
- <https://github.com/protocolbuffers/protobuf/tree/main/python#implementation-backends>
- <https://pypi.org/project/protobuf>
- <https://github.com/advisories/GHSA-8qvm-5x2c-j2w7>
- <https://ubuntu.com/security/CVE-2025-4565>
- <https://www.cve.org/CVERecord?id=CVE-2025-4565>
- <https://ubuntu.com/security/notices/USN-7629-1>

---

Data as of 2026-12-05T03:06:17.841Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
