The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-0994

CVE-2026-0994: Google Protobuf Python DoS Vulnerability

CVE-2026-0994 is a denial-of-service flaw in Google Protobuf's Python implementation that allows attackers to bypass recursion limits using nested Any messages. This post covers technical details, impact, and mitigation.

Published: January 30, 2026

CVE-2026-0994 Overview

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.

Critical Impact

Remote attackers can crash Python applications using Protocol Buffers by sending specially crafted deeply nested Any messages, causing service disruption without authentication.

Affected Products

  • Google Protocol Buffers (protobuf) Python library
  • Applications using google.protobuf.json_format.ParseDict() function
  • Services processing untrusted protobuf Any messages

Discovery Timeline

  • 2026-01-23 - CVE CVE-2026-0994 published to NVD
  • 2026-01-26 - Last updated in NVD database

Technical Details for CVE-2026-0994

Vulnerability Analysis

This vulnerability is classified under CWE-674 (Uncontrolled Recursion). The flaw resides in the JSON format parsing functionality of the Google Protocol Buffers Python library. When ParseDict() processes incoming data containing google.protobuf.Any message types, it fails to properly account for recursion depth within the internal Any-handling logic.

The max_recursion_depth parameter is designed to protect against stack exhaustion attacks by limiting how deeply nested structures can be parsed. However, the recursion counter is not decremented when the parser enters the Any message unpacking routine. This architectural oversight allows attackers to construct payloads that appear to respect the depth limit at the outer parsing layer while actually exceeding it through nested Any messages.

When exploited, the Python interpreter's call stack grows unbounded until it exceeds the system's recursion limit, triggering a RecursionError exception. If the application does not gracefully handle this exception, the entire process may crash, resulting in denial of service.

Root Cause

The root cause is missing recursion depth accounting inside the internal Any-handling logic of google.protobuf.json_format.ParseDict(). When the parser encounters an Any message and recursively calls itself to parse the contained message, it fails to decrement the current depth counter. This allows the effective recursion depth to exceed the configured max_recursion_depth limit, as each nested Any message essentially resets the depth counting.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by sending a specially crafted JSON payload to any endpoint that processes Protocol Buffer messages using the vulnerable ParseDict() function.

The attack payload consists of deeply nested google.protobuf.Any messages, where each Any contains another Any message. Since the recursion depth is not properly tracked through Any message boundaries, the parser continues processing until Python's stack limit is exceeded.

The vulnerability is exploited by constructing a deeply nested message structure where google.protobuf.Any messages are recursively embedded within each other. When this payload is passed to ParseDict(), the function recursively processes each nested Any message without properly tracking the recursion depth, eventually exhausting the Python call stack and raising a RecursionError. For technical implementation details, refer to the GitHub Pull Request for Protobuf.

Detection Methods for CVE-2026-0994

Indicators of Compromise

  • Sudden application crashes with RecursionError exceptions in stack traces
  • Log entries showing parsing failures in google.protobuf.json_format module
  • Unusual increase in failed requests to endpoints processing protobuf messages
  • Memory and CPU spikes preceding service termination

Detection Strategies

  • Monitor application logs for RecursionError exceptions originating from protobuf parsing functions
  • Implement request payload size and depth validation before passing to ParseDict()
  • Deploy runtime application self-protection (RASP) to detect recursive parsing attacks
  • Use SentinelOne's behavioral AI to identify abnormal process termination patterns

Monitoring Recommendations

  • Configure alerting on application crashes with protobuf-related stack traces
  • Monitor endpoint response times for degradation indicating parsing overhead
  • Track the frequency of RecursionError exceptions across services
  • Implement structured logging to capture payload characteristics before parsing

How to Mitigate CVE-2026-0994

Immediate Actions Required

  • Review all services using google.protobuf.json_format.ParseDict() for exposure
  • Implement input validation to reject payloads with excessive Any message nesting
  • Add exception handling around ParseDict() calls to prevent cascading failures
  • Consider rate limiting endpoints that process untrusted protobuf messages

Patch Information

The fix for this vulnerability is tracked in GitHub Pull Request #25239 for the Protocol Buffers repository. Organizations should monitor this pull request for merge status and update to the patched version once released. Check the official protobuf releases page for the security update.

Workarounds

  • Implement custom pre-parsing validation to count nested Any message depth before calling ParseDict()
  • Wrap ParseDict() calls in try-except blocks to catch RecursionError and return appropriate error responses
  • Use a lower max_recursion_depth value as a defense-in-depth measure
  • Deploy web application firewalls with rules to detect deeply nested JSON structures
bash
# Configuration example
# Example: Implement defensive exception handling in Python
# Wrap ParseDict() calls with RecursionError handling
# 
# try:
#     message = json_format.ParseDict(data, proto_message, max_recursion_depth=50)
# except RecursionError:
#     logging.error("Detected potential DoS attack via nested Any messages")
#     return error_response("Invalid message structure")
#
# Additionally, consider implementing pre-validation of JSON depth
# before passing to ParseDict()

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPython

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-674
  • Technical References
  • GitHub Pull Request for Protobuf
  • Related CVEs
  • CVE-2025-13836: Python Python DOS Vulnerability

  • CVE-2025-8194: CPython tarfile Module DoS Vulnerability

  • CVE-2024-8088: CPython zipfile.Path DOS Vulnerability

  • CVE-2024-7592: Python CPython DOS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English