Python Protobuf
Denial of Service in Python Protobuf
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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- <=v33.4
- >= 6.30.0rc1, < 6.33.5
Fixed in 6.33.5
from GitHub Security Advisory GHSA-7gcm-g887-7qv7
Mitigation
Upgrade protobuf to 6.33.5 or later.
Upgrade protobuf to 5.29.6 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 suspicious or fake
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Vardhan0257/upb-any-recursion-audit | 16 Sep 2026 +236 d | 1 | Suspicious · score 55
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.