Vulnerabilities · 2025 · Google
CVE-2025-4565
Google Protobuf-python vulnerability
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
Affected products
Protobuf-python. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Google Protobuf-python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/protocolbuffers/protobuf/commit/17838beda2943d08b8a9d4df5b68f5f04f26d901 · Patch
- github.com/protocolbuffers/protobuf/security/advisories/GHSA-735f-pc8j-v9w8
- github.com/protocolbuffers/protobuf/security/advisories/GHSA-8qvm-5x2c-j2w7
- nvd.nist.gov/vuln/detail/CVE-2025-4565
- github.com/protocolbuffers/protobuf/blob/main/python/google/protobuf/internal/decoder_test
- github.com/protocolbuffers/protobuf/blob/main/python/google/protobuf/internal/message_test
- github.com/protocolbuffers/protobuf/tree/main/python#implementation-backends
- github.com/advisories/GHSA-8qvm-5x2c-j2w7
- nvd.nist.gov/vuln/detail/CVE-2025-4565
- cve.org/CVERecord?id=CVE-2025-4565
More vulnerabilities in Google products
CVE-2026-28615CVE-2026-28587CVE-2026-28576CVE-2026-28575CVE-2026-20418CVE-2026-20417CVE-2026-20415CVE-2026-20414All 12,443
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.