CVE-2026-0994: CWE-674: Uncontrolled Recursion 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.
AI Analysis
Technical Summary
This vulnerability in Python Protobuf's json_format.ParseDict() function allows an attacker to bypass the intended recursion depth limit by crafting deeply nested google.protobuf.Any messages. The internal handling logic does not properly account for recursion depth, leading to uncontrolled recursion that exhausts the Python recursion stack and triggers a RecursionError. This results in a denial-of-service condition. The issue affects all versions up to and including 33.4. Red Hat has released security advisories and errata with patches to remediate this vulnerability.
Potential Impact
An attacker can cause a denial-of-service by triggering a RecursionError in Python applications using the affected Protobuf versions. This is achieved by supplying maliciously crafted deeply nested Any messages that bypass the recursion depth limit, leading to exhaustion of the Python recursion stack. There is no indication of privilege escalation, code execution, or data disclosure from this vulnerability.
Mitigation Recommendations
Fixes for this vulnerability are available as indicated by multiple Red Hat security advisories and errata. Users should apply the relevant updates provided by their vendor or distribution to remediate the issue. Since this is not a cloud service, remediation requires updating the affected Python Protobuf library to a patched version beyond 33.4. Patch status is confirmed by Red Hat advisories linked in the references.
CVE-2026-0994: CWE-674: Uncontrolled Recursion in Python Protobuf
Description
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.
CVSS v4.0
Score 8.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Python Protobuf's json_format.ParseDict() function allows an attacker to bypass the intended recursion depth limit by crafting deeply nested google.protobuf.Any messages. The internal handling logic does not properly account for recursion depth, leading to uncontrolled recursion that exhausts the Python recursion stack and triggers a RecursionError. This results in a denial-of-service condition. The issue affects all versions up to and including 33.4. Red Hat has released security advisories and errata with patches to remediate this vulnerability.
Potential Impact
An attacker can cause a denial-of-service by triggering a RecursionError in Python applications using the affected Protobuf versions. This is achieved by supplying maliciously crafted deeply nested Any messages that bypass the recursion depth limit, leading to exhaustion of the Python recursion stack. There is no indication of privilege escalation, code execution, or data disclosure from this vulnerability.
Mitigation Recommendations
Fixes for this vulnerability are available as indicated by multiple Red Hat security advisories and errata. Users should apply the relevant updates provided by their vendor or distribution to remediate the issue. Since this is not a cloud service, remediation requires updating the affected Python Protobuf library to a patched version beyond 33.4. Patch status is confirmed by Red Hat advisories linked in the references.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Date Reserved
- 2026-01-15T15:16:22.904Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-0994","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3959","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3958","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3218","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3094","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3097","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3220","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3059","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3219","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3095","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3461","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3462","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8748","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8746","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8747","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16174","vendor":"Red Hat"}]
Threat ID: 69738e544623b1157c4a43aa
Added to database: 01/23/2026, 15:05:56 UTC
Last enriched: 07/15/2026, 08:25:29 UTC
Last updated: 09/10/2026, 19:36:52 UTC
Views: 561
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.