CVE-2025-4565Google Protobuf-python
High 8.2 No auth needed
Follow: this CVE · Google · Google Protobuf-python We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 4.0
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Jun 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
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/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
What happens
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
What to do
- Apply the vendor's security update for Protobuf-python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | protobuf |
< 4.25.8 |
4.25.8 |
pip install "protobuf>=4.25.8" |
| PyPI | protobuf |
≥ 5.26.0rc1 < 5.29.5 |
5.29.5 |
pip install "protobuf>=5.29.5" |
| PyPI | protobuf |
≥ 6.30.0rc1 < 6.31.1 |
6.31.1 |
pip install "protobuf>=6.31.1" |
| PyPI | protobuf |
< 4.25.8 |
4.25.8 |
pip install "protobuf>=4.25.8" |
| PyPI | protobuf |
≥ 5.26.0rc1 < 5.29.5 |
5.29.5 |
pip install "protobuf>=5.29.5" |
| PyPI | protobuf |
≥ 6.30.0rc1 < 6.31.1 |
6.31.1 |
pip install "protobuf>=6.31.1" |
Per OSV / GitHub Advisories (GHSA-8qvm-5x2c-j2w7, PYSEC-2026-1806). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| protobuf-python | < 4.25.8 | |
| protobuf-python | ≥ 5.26.0 < 5.29.5 | |
| protobuf-python | ≥ 6.30.0 < 6.31.1 |
Official advisories
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update · Red Hat · RHSA-2026:1249 · Apr 10, 2026 High
- Security update for protobuf · SUSE · openSUSE-SU-2026:20390-1 · Mar 18, 2026 High
- Security update for protobuf · SUSE · SUSE-SU-2026:20753-1 · Mar 18, 2026 High
- Security update for protobuf · SUSE · SUSE-SU-2026:20907-1 · Mar 18, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch