Description
Helm through 4.2.3, fixed in commit ba6c9a2, contains a denial of service vulnerability in the Files.Lines template helper in pkg/engine/files.go that allows attackers to trigger an index out of range panic by including zero-length byte slices in chart files. Attackers can include empty files in Helm charts to cause deterministic render failures across template, install, upgrade, lint, and SDK Engine.Render operations.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-129 — Improper Validation of Array Index
Affected products
| Vendor | Product | Versions |
|---|---|---|
| helm | helm | 0 to <=4.2.3; ba6c9a29efa7bf9198dad6a5ec12b4fb30c96017 |
References
- https://github.com/helm/helm/issues/32279 (technical-description exploit)
- https://github.com/helm/helm/pull/32290 (issue-tracking)
- https://github.com/helm/helm/commit/ba6c9a29efa7bf9198dad6a5ec12b4fb30c96017 (patch)
- https://www.vulncheck.com/advisories/chat2db-insecure-direct-object-reference-via-get-api-connection-datasource (third-party-advisory)
Generated from the official CVE List on 18 Jul 2026 07:00 UTC.