CVE-2025-32387: Helm Allows A Specially Crafted JSON Schema To Cause A Stack Overflow

Published Apr 9, 2025
·
Updated

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.

Other sources

Helm Allows A Specially Crafted JSON Schema To Cause A Stack Overflow

Microsoft

Helm is a package manager for Charts for Kubernetes. 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. This issue has been resolved in Helm v3.17.3.

MITRE

Affected Software

12 affected componentsFixes available
Helm helm<3.17.3
go/helm.sh/helm/v3<3.17.3
3.17.3
Helm helm<3.17.3
IBM Fusion<=2.2.0 - 2.10.1
IBM Fusion HCI<=2.2.0 - 2.10.0
IBM Fusion HCI for watsonx<=2.8.2 - 2.10.0
Microsoft cbl2 cert-manager 1.11.2-25
Microsoft cbl2 cert-manager 1.11.2-24
Microsoft azl3 cert-manager 1.12.15-4
Microsoft cbl2 helm 3.14.2-6
Microsoft cbl2 cert-manager 1.11.2-23
Microsoft azl3 helm 3.15.2-3

Event History

Apr 9, 2025
CVE Published
via MITRE·10:28 PM
Data Sourced
via MITRE·10:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyAffected Software
Apr 10, 2025
Advisory Published
via GitHub·01:48 PM
May 27, 2025
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·12:00 AM
Affected Software
Updated
via Microsoft·12:00 AM
SeverityAffected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Sep 11, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-32387?

CVE-2025-32387 has a high severity due to the potential for a stack overflow caused by deeply nested references.

2

How do I fix CVE-2025-32387?

To fix CVE-2025-32387, update Helm to version 3.17.3 or later.

3

What causes CVE-2025-32387?

CVE-2025-32387 is caused by a JSON Schema file within a chart being crafted with excessive nested references.

4

Which versions of Helm are affected by CVE-2025-32387?

Helm versions prior to 3.17.3 are affected by CVE-2025-32387.

5

Is there a workaround for CVE-2025-32387?

There are no known workarounds for CVE-2025-32387 other than upgrading to the patched version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203