banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-29612

CVE-2026-29612: OpenClaw DOS Vulnerability

CVE-2026-29612 is a denial of service vulnerability in OpenClaw that allows attackers to trigger excessive memory allocations through oversized base64 payloads. This article covers the technical details, affected versions, and mitigation.

Published: March 6, 2026

CVE-2026-29612 Overview

OpenClaw versions prior to 2026.2.14 contain a resource allocation vulnerability in the base64 media decoding functionality. The application decodes base64-backed media inputs into buffers before enforcing decoded-size budget limits, allowing remote attackers to supply oversized base64 payloads that trigger large memory allocations, resulting in memory pressure and denial of service conditions.

Critical Impact

Remote attackers can exploit this vulnerability to cause denial of service through memory exhaustion by sending oversized base64-encoded payloads to vulnerable OpenClaw instances.

Affected Products

  • OpenClaw versions prior to 2026.2.14

Discovery Timeline

  • 2026-03-05 - CVE CVE-2026-29612 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-29612

Vulnerability Analysis

This vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue stems from improper sequencing of security checks during media file processing. When OpenClaw receives base64-encoded media inputs through chat attachments, it performs the full base64 decode operation before validating whether the resulting buffer size falls within acceptable limits.

This design flaw means that an attacker can craft payloads where the base64-encoded content decodes to an arbitrarily large buffer. Since Node.js and similar runtime environments must allocate the full decoded buffer in memory before size validation occurs, attackers can force the application to allocate excessive memory simply by submitting large base64 payloads.

Root Cause

The vulnerability exists because the decoded-size budget enforcement was implemented after the Buffer.from(..., "base64") operation rather than before. The fix introduces an estimateBase64DecodedBytes() function that calculates the expected decoded size by iterating through the base64 string without allocating additional memory, allowing the application to reject oversized payloads before performing the expensive decode operation.

Attack Vector

Exploitation requires local access with low privileges and no user interaction. An attacker can target the chat attachments functionality by sending specially crafted base64-encoded media files with inflated sizes. The attack is straightforward to execute as it only requires sending HTTP requests with large base64 payloads to the affected endpoint.

The security patch introduces pre-decode size estimation in src/gateway/chat-attachments.ts:

typescript
+import { estimateBase64DecodedBytes } from "../media/base64.js";
 import { detectMime } from "../media/mime.js";
 
 export type ChatAttachment = {

Source: GitHub Commit Update

The new estimateBase64DecodedBytes function in src/media/base64.ts performs size calculation without memory allocation:

typescript
+export function estimateBase64DecodedBytes(base64: string): number {
+  // Avoid `trim()`/`replace()` here: they allocate a second (potentially huge) string.
+  // We only need a conservative decoded-size estimate to enforce budgets before Buffer.from(..., "base64").
+  let effectiveLen = 0;
+  for (let i = 0; i < base64.length; i += 1) {
+    const code = base64.charCodeAt(i);
+    // Treat ASCII control + space as whitespace; base64 decoders commonly ignore these.
+    if (code <= 0x20) {
+      continue;
+    }
+    effectiveLen += 1;
+  }
+
+  if (effectiveLen === 0) {
+    return 0;
+  }
+
+  let padding = 0;
+  // Find last non-whitespace char(s) to detect '=' padding without allocating/copying.
+  let end = base64.length - 1;
+  while (end >= 0 && base64.charCodeAt(end) <= 0x20) {
+    end -= 1;
+  }
+  if (end >= 0 && base64[end] === "=") {
+    padding = 1;
+    end -= 1;
+    while (end >= 0 && base64.charCodeAt(end) <= 0x20) {
+      end -= 1;
+    }
+    if (end >= 0 && base64[end] === "=") {

Source: GitHub Commit Update

Detection Methods for CVE-2026-29612

Indicators of Compromise

  • Unusually large HTTP request bodies containing base64-encoded data targeting chat attachment endpoints
  • Rapid memory consumption spikes on OpenClaw server instances
  • Server out-of-memory errors or process crashes following media upload requests
  • Multiple requests with abnormally large Content-Length headers

Detection Strategies

  • Monitor HTTP request sizes to chat attachment and media upload endpoints for anomalously large payloads
  • Implement application-level logging to track base64 payload sizes before processing
  • Configure alerts for sudden memory utilization increases on systems running OpenClaw
  • Review web server logs for requests with unusually large body sizes targeting media processing endpoints

Monitoring Recommendations

  • Set up resource utilization alerting with thresholds for memory consumption on OpenClaw deployments
  • Enable request body size logging at the reverse proxy or load balancer level
  • Monitor process restart frequencies that may indicate memory exhaustion crashes
  • Track HTTP 5xx error rates which may spike during exploitation attempts

How to Mitigate CVE-2026-29612

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.2.14 or later immediately
  • Implement request body size limits at the web server or reverse proxy layer
  • Configure memory limits and auto-restart policies for OpenClaw processes
  • Review and restrict access to media upload endpoints where possible

Patch Information

The security fix is available in OpenClaw version 2026.2.14 and later. The patch introduces the estimateBase64DecodedBytes() function that calculates decoded size without allocating memory, enabling rejection of oversized payloads before the expensive decode operation. For detailed patch information, see the GitHub Commit Update and GitHub Security Advisory.

Workarounds

  • Configure web server or reverse proxy to enforce strict request body size limits on media upload endpoints
  • Implement rate limiting on chat attachment endpoints to reduce attack surface
  • Deploy OpenClaw behind a WAF with payload size inspection capabilities
  • Consider temporarily disabling base64 media upload functionality until patching is complete
bash
# Example nginx configuration to limit request body size
# Add to server or location block for OpenClaw
client_max_body_size 10M;

# Example rate limiting for media upload endpoints
limit_req_zone $binary_remote_addr zone=media_upload:10m rate=10r/s;
location /api/chat/attachments {
    limit_req zone=media_upload burst=5 nodelay;
    proxy_pass http://openclaw_backend;
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOpenclaw

  • SeverityMEDIUM

  • CVSS Score6.8

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/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-770
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory

  • VulnCheck Denial of Service Advisory
  • Related CVEs
  • CVE-2026-28452: OpenClaw DoS Vulnerability

  • CVE-2026-28395: OpenClaw Network Binding DoS Vulnerability

  • CVE-2026-28394: OpenClaw DoS Vulnerability

  • CVE-2026-29609: OpenClaw 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
  • English
  • 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