Live threats

All CVEs / Google

CVE-2025-4565Google Protobuf-python

High 8.2 No auth needed

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Protobuf-python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
googleprotobuf-python< 4.25.8
googleprotobuf-python≥ 5.26.0 < 5.29.5
googleprotobuf-python≥ 6.30.0 < 6.31.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.