Vulnerabilities

CVE-2025-4565

Medium 5.3 CVSS 3.1

Description

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

Description as published by the source, in English.

Key facts

Published
2025-06-16
Last modified
2026-06-17
Assigned by
cve-coordination@google.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 17 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
protobuf (PyPI) < 4.25.8 Affected
protobuf (PyPI) ≥ 5.26.0rc1, < 5.29.5 Affected
protobuf (PyPI) ≥ 6.30.0rc1, < 6.31.1 Affected
Google Protobuf-python < 4.25.8 Affected
Google Protobuf-python ≥ 5.26.0, < 5.29.5 Affected
Google Protobuf-python ≥ 6.30.0, < 6.31.1 Affected

Weakness type

  • CWE-674: Uncontrolled Recursion

    The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities