Skip to main content
EPSS 0.7%top 49%

CVE-2026-0994: CWE-674: Uncontrolled Recursion in Python Protobuf

0
High
VulnerabilityCVE-2026-0994cvecve-2026-0994cwe-674
Published: 01/23/2026 (01/23/2026, 14:55:16 UTC)
Source: CVE Database V5
Vendor/Project: Python
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
Low
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L

Affected software

protobuf
pkg:pypi/protobuf
Affected versions
<=33.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:25:29 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Google
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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses