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-2024-7254

CVE-2024-7254: Google Protobuf DOS Vulnerability

CVE-2024-7254 is a denial of service flaw in Google Protobuf caused by unbounded recursion when parsing nested groups. Attackers can trigger stack overflow to crash applications. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: January 28, 2026

CVE-2024-7254 Overview

CVE-2024-7254 is a stack overflow vulnerability affecting Google Protocol Buffers (protobuf) that enables denial of service attacks through unbounded recursion. Any project that parses untrusted Protocol Buffers data containing an arbitrary number of nested groups or series of SGROUP tags can be corrupted by exceeding the stack limit, resulting in a StackOverflow condition. The vulnerability is triggered when parsing nested groups as unknown fields with DiscardUnknownFieldsParser or Java Protobuf Lite parser, or against Protobuf map fields, creating unbounded recursions that can be abused by an attacker.

Critical Impact

Attackers can craft malicious Protocol Buffers messages with deeply nested SGROUP tags to crash applications by exhausting the stack, causing denial of service across any system parsing untrusted protobuf data.

Affected Products

  • Google Protobuf (Ruby bindings)
  • Google protobuf-java
  • Google protobuf-javalite
  • Google protobuf-kotlin
  • Google protobuf-kotlin-lite
  • NetApp Active IQ Unified Manager (Linux, VMware vSphere, Windows)
  • NetApp BlueXP
  • NetApp ONTAP Tools 10 for VMware vSphere

Discovery Timeline

  • 2024-09-19 - CVE-2024-7254 published to NVD
  • 2025-09-26 - Last updated in NVD database

Technical Details for CVE-2024-7254

Vulnerability Analysis

This vulnerability represents a resource exhaustion condition (CWE-400) combined with out-of-bounds write potential (CWE-787) in Google Protocol Buffers parsing logic. The flaw exists in how protobuf parsers handle nested group structures within serialized messages. Protocol Buffers use SGROUP and EGROUP wire type markers to delimit groups, and when an attacker crafts a message with arbitrarily deep nesting of these group structures, the parser follows the recursion without adequate depth checking.

The vulnerability is particularly dangerous because it affects multiple language bindings and parsing modes. The Java implementation's DiscardUnknownFieldsParser, the Protobuf Lite parser variant, and map field parsing are all vulnerable code paths. When processing unknown fields or map structures, the parser recursively descends into nested groups, and with sufficient nesting depth, the call stack is exhausted before parsing completes.

Root Cause

The root cause is insufficient recursion depth limiting in the Protocol Buffers parsing implementation. When encountering nested group wire types during deserialization, the parser uses recursive function calls to process each nesting level. Without enforcing a maximum recursion depth, an attacker can supply input that exceeds the available stack space, causing the application to crash with a StackOverflowError (in Java) or equivalent stack exhaustion on other platforms.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by sending a maliciously crafted Protocol Buffers message to any application that deserializes untrusted protobuf data. The attack message contains deeply nested SGROUP tags that trigger unbounded recursion during parsing. Since Protocol Buffers is commonly used in gRPC services, microservices communication, and data serialization across networked systems, the attack surface is substantial for applications accepting external input.

The following code shows part of the official security patch that addresses the vulnerability:

java
   static InvalidProtocolBufferException recursionLimitExceeded() {
     return new InvalidProtocolBufferException(
         "Protocol message had too many levels of nesting.  May be malicious.  "
-            + "Use CodedInputStream.setRecursionLimit() to increase the depth limit.");
+            + "Use setRecursionLimit() to increase the recursion depth limit.");
   }

Source: GitHub Commit Update

Detection Methods for CVE-2024-7254

Indicators of Compromise

  • Application crashes with StackOverflowError or stack exhaustion conditions during protobuf deserialization
  • Sudden memory spikes followed by process termination in services handling Protocol Buffers data
  • Repeated service restarts or health check failures in gRPC or protobuf-based microservices
  • Log entries indicating deep recursion or malformed protobuf messages

Detection Strategies

  • Monitor application logs for StackOverflowError exceptions or recursion-related error messages in Java applications
  • Implement application performance monitoring (APM) to detect abnormal stack depth or memory consumption patterns
  • Deploy network-level inspection to identify Protocol Buffers messages with unusual nesting characteristics
  • Use SentinelOne Singularity to detect process crashes and abnormal application behavior indicative of DoS attacks

Monitoring Recommendations

  • Enable verbose logging for protobuf parsing operations to capture malformed input patterns
  • Set up alerts for repeated process crashes or restarts in services that process untrusted Protocol Buffers data
  • Monitor CPU and memory utilization for anomalies that may indicate resource exhaustion attacks
  • Track error rates and latency in gRPC services for early warning signs of exploitation attempts

How to Mitigate CVE-2024-7254

Immediate Actions Required

  • Update Google Protocol Buffers libraries to patched versions immediately across all affected applications
  • Audit applications to identify all instances where untrusted Protocol Buffers data is parsed
  • Implement input validation to reject Protocol Buffers messages from untrusted sources with excessive nesting depth
  • Configure explicit recursion limits using setRecursionLimit() on CodedInputStream instances as an additional safeguard

Patch Information

Google has released a security patch addressing this vulnerability. The fix is available in commit cc8b3483a5584b3301e3d43d17eb59704857ffaa in the protobuf GitHub repository. Organizations using NetApp products should consult the NetApp Security Advisory #20241213-0010 and NetApp Security Advisory #20250418-0006 for vendor-specific patching guidance.

Workarounds

  • Set explicit recursion limits on all protobuf parser instances using CodedInputStream.setRecursionLimit() with conservative values
  • Implement message size limits to reduce the potential for deeply nested malicious payloads
  • Deploy network-level filtering to inspect and reject abnormally structured Protocol Buffers messages at ingress points
  • Consider wrapping protobuf parsing in isolated processes or containers to limit the blast radius of stack exhaustion
bash
# Example: Check protobuf-java version in Maven projects
mvn dependency:tree | grep -i protobuf

# Example: Update protobuf dependency in pom.xml to patched version
# Ensure all protobuf-java, protobuf-javalite, and protobuf-kotlin dependencies are updated

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGoogle Protobuf

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/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-400

  • CWE-787
  • Technical References
  • NetApp Security Advisory #20241213-0010

  • NetApp Security Advisory #20250418-0006
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2022-3510: Google Protobuf-java DoS Vulnerability

  • CVE-2024-24786: Protobuf JSON Unmarshal DoS Vulnerability

  • CVE-2022-3171: Google Protobuf DoS Vulnerability

  • CVE-2022-1941: Google Protobuf-cpp 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