Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2025-32387

CVE-2025-32387: Helm Buffer Overflow Vulnerability

CVE-2025-32387 is a buffer overflow vulnerability in Helm, a package manager for Kubernetes Charts. Deeply nested JSON Schema references can trigger stack overflow, causing denial of service. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-32387 Overview

CVE-2025-32387 is a stack overflow vulnerability in Helm, the package manager for Kubernetes Charts. The vulnerability exists in the JSON Schema parsing functionality, where a maliciously crafted chart containing a deeply nested chain of references can cause parser recursion to exceed the stack size limit, triggering a stack overflow and resulting in a denial of service condition.

Critical Impact

Attackers can craft malicious Helm charts with deeply nested JSON Schema references to crash Helm operations, causing denial of service for Kubernetes deployment pipelines.

Affected Products

  • Helm versions prior to v3.17.3
  • Kubernetes environments using vulnerable Helm installations
  • CI/CD pipelines utilizing Helm for chart deployment

Discovery Timeline

  • 2025-04-09 - CVE CVE-2025-32387 published to NVD
  • 2025-09-03 - Last updated in NVD database

Technical Details for CVE-2025-32387

Vulnerability Analysis

This vulnerability affects Helm's JSON Schema file parsing mechanism within Kubernetes charts. When Helm processes a chart containing a values.schema.json file, it recursively follows JSON Schema $ref references to validate the schema structure. An attacker can craft a malicious chart with an excessively deep chain of nested references, causing the parser to recurse beyond the available stack memory.

The attack requires user interaction—specifically, a victim must download and process a malicious chart. Once the crafted chart is loaded, the recursive parsing exhausts the call stack, triggering a stack overflow that terminates the Helm process. This denial of service can disrupt critical Kubernetes deployment workflows and CI/CD pipelines.

Root Cause

The root cause is CWE-121: Stack-based Buffer Overflow, specifically due to unbounded recursion in the JSON Schema reference resolution logic. The parser did not enforce limits on the depth of $ref chains or the size of decompressed chart files, allowing attackers to craft inputs that exceed stack boundaries.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker must convince a victim to download and process a malicious Helm chart. This could occur through:

  1. Publishing a malicious chart to a public or private chart repository
  2. Social engineering developers to use a compromised chart source
  3. Supply chain attacks targeting chart dependencies

The security patch introduces size limits to prevent resource exhaustion:

go
// MaxDecompressedChartSize is the maximum size of a chart archive that will be
// decompressed. This is the decompressed size of all the files.
// The default value is 100 MiB.
var MaxDecompressedChartSize int64 = 100 * 1024 * 1024 // Default 100 MiB

// MaxDecompressedFileSize is the size of the largest file that Helm will attempt to load.
// The size of the file is the decompressed version of it when it is stored in an archive.
var MaxDecompressedFileSize int64 = 5 * 1024 * 1024 // Default 5 MiB

Source: GitHub Commit Details

The patch also adds file size validation during directory loading:

go
		if fi.Size() > MaxDecompressedFileSize {
			return fmt.Errorf("chart file %q is larger than the maximum file size %d", fi.Name(), MaxDecompressedFileSize)
		}

Source: GitHub Commit Details

Detection Methods for CVE-2025-32387

Indicators of Compromise

  • Unexpected Helm process crashes or terminations during chart operations
  • Stack overflow errors in Helm logs or system event logs
  • Charts containing unusually large or deeply nested values.schema.json files
  • Abnormal memory consumption patterns during chart loading operations

Detection Strategies

  • Monitor for Helm process crashes with stack overflow signatures in application logs
  • Implement pre-deployment scanning of Helm charts for suspicious schema patterns
  • Configure alerting for abnormal Helm process termination events
  • Review chart sources and validate chart integrity before installation

Monitoring Recommendations

  • Enable verbose logging for Helm operations to capture error details
  • Implement centralized log aggregation for Helm deployments across clusters
  • Set up process monitoring to detect unexpected Helm terminations
  • Establish baseline metrics for chart processing times to identify anomalies

How to Mitigate CVE-2025-32387

Immediate Actions Required

  • Upgrade Helm to version 3.17.3 or later immediately
  • Audit all chart sources and repositories for untrusted content
  • Review recently deployed charts for suspicious schema structures
  • Implement chart signing and verification to ensure chart integrity

Patch Information

The vulnerability has been resolved in Helm v3.17.3. The fix introduces maximum size limits for decompressed chart archives (100 MiB) and individual files (5 MiB), preventing resource exhaustion attacks. Organizations should update their Helm installations to the patched version as soon as possible.

Patch details are available in the GitHub commit d8ca55fc669645c10c0681d49723f4bb8c0b1ce7 and the GitHub Security Advisory GHSA-5xqw-8hwv-wg92.

Workarounds

  • Restrict chart installations to trusted, verified chart repositories only
  • Implement pre-deployment chart scanning in CI/CD pipelines
  • Use Helm chart provenance verification with GPG signatures
  • Consider network segmentation to limit exposure of Helm operations
bash
# Verify Helm version is patched
helm version --short

# Update Helm to latest secure version
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

# Verify chart provenance before installation
helm verify <chart-package>

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechHelm

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Technical References
  • GitHub Security Advisory GHSA-5xqw-8hwv-wg92
  • Vendor Resources
  • GitHub Commit Details
  • Related CVEs
  • CVE-2026-35206: Helm Path Traversal Vulnerability

  • CVE-2026-35205: Helm Plugin Signature Bypass Vulnerability

  • CVE-2026-35204: Helm Path Traversal Vulnerability

  • CVE-2025-32386: Helm Helm DOS Vulnerability
Default Legacy - Prefooter | 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