protobuf affected by a JSON recursion depth bypass
High severity
GitHub Reviewed
Published
Jan 23, 2026
to the GitHub Advisory Database
•
Updated Jan 23, 2026
Description
Published by the National Vulnerability Database
Jan 23, 2026
Published to the GitHub Advisory Database
Jan 23, 2026
Reviewed
Jan 23, 2026
Last updated
Jan 23, 2026
A denial-of-service (DoS) vulnerability exists in google.protobuf.json_format.ParseDict() in Python, where the max_recursion_depth limit can be bypassed when parsing nested google.protobuf.Any messages.
Due to missing recursion depth accounting inside the internal Any-handling logic, an attacker can supply deeply nested Any structures that bypass the intended recursion limit, eventually exhausting Python’s recursion stack and causing a RecursionError.
References