CVE-2025-32387: Helm Allows A Specially Crafted JSON Schema To Cause A Stack Overflow
A Helm contributor discovered that a specially crafted JSON Schema within a chart can lead to a stack overflow. Impact A JSON Schema file within a chart can be crafted with a deeply nested chain of references, leading to parser recursion that can exceed the stack size limit and trigger a stack overflow. Patches This issue has been resolved in Helm v3.17.3.
Published Apr 10, 2025
Affected packages
helm.sh/helm/v3
- Ecosystem
- Go
- Affected
- < 3.17.3
- Fixed in
- 3.17.3
- Check
go list -m helm.sh/helm/v3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A Helm contributor discovered that a specially crafted JSON Schema within a chart can lead to a stack overflow.
Impact
A JSON Schema file within a chart can be crafted with a deeply nested chain of references, leading to parser recursion that can exceed the stack size limit and trigger a stack overflow.
Patches
This issue has been resolved in Helm v3.17.3.
Workarounds
Ensure that the JSON Schema within any charts loaded by Helm does not have a large number of nested references. These JSON Schema files are larger than 10 MiB.
For more information
Helm's security policy is spelled out in detail in our SECURITY document.
Credits
Disclosed by Jakub Ciolek at AlphaSense.
Credited to jake-ciolek.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-35206
Helm Chart extraction output directory collapse via `Chart.yaml` name dot-segment
medium4.8Apr 10, 2026CVE-2025-55198
Helm May Panic Due To Incorrect YAML Content
medium6.5Aug 14, 2025CVE-2025-55199
Helm Charts with Specific JSON Schema Values Can Cause Memory Exhaustion
medium6.5Aug 14, 2025CVE-2025-53547
Helm vulnerable to Code Injection through malicious chart.yaml content
high8.5Jul 8, 2025CVE-2025-32386
Helm Allows A Specially Crafted Chart Archive To Cause Out Of Memory Termination
medium6.5Apr 10, 2025CVE-2024-26147
Helm's Missing YAML Content Leads To Panic
high7.5Feb 22, 2024
