protobuf
Affected
- introduced
6.30.0rc1, fixed6.33.5(ecosystem)
Fixed versions
6.33.5
Fix
- Fixed version
6.33.5pip install --upgrade protobuf==6.33.5
Advisory
Also known as: CVE-2026-0994, PYSEC-2026-1805
protobuf affected by a JSON recursion depth bypass
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.
High Basis: The source's own band: HIGH
6.30.0rc1, fixed 6.33.5 (ecosystem)6.33.5
6.33.5pip install --upgrade protobuf==6.33.50, fixed 5.29.6 (ecosystem)5.29.6
5.29.6pip install --upgrade protobuf==5.29.6Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0