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.
Published: 2026-07-17
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Helm up to version 4.2.3 processes chart files via the Files.Lines template helper. If a chart contains zero‑length byte slices, the helper triggers an index‑out‑of‑range panic that aborts the rendering process, leading to deterministic failures of template rendering, chart installation, upgrade, linting, and SDK engine rendering operations. This denial of service can disrupt automated deployments and operational workflows that rely on Helm chart rendering.

Affected Systems

Helm package manager users running any version up to and including 4.2.3 are impacted. Systems that deploy, install, or upgrade Helm charts within Kubernetes environments are at risk if they use affected versions of Helm.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, while the EPSS score of less than 1% shows a very low but nonzero likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit the flaw by adding empty files to a Helm chart—an action that requires only access to the chart source or a foothold that allows chart manipulation. The resulting panic is limited to the Helm rendering engine and does not provide arbitrary code execution, but it can interrupt automated deployments and operational workflows.

Generated by OpenCVE AI on July 31, 2026 at 00:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Helm to the version that includes the commit ba6c9a2 (v4.2.4 or later).
  • Ensure that chart files do not contain zero‑length byte slices before packaging the chart.
  • Run helm lint and test deployments on a non‑production cluster to detect empty files early.

Generated by OpenCVE AI on July 31, 2026 at 00:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 17 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title Helm Files.Lines Denial of Service via Empty Chart Files
First Time appeared Helm
Helm helm
Weaknesses CWE-129
CPEs cpe:2.3:a:helm:helm:*:*:*:*:*:*:*:*
Vendors & Products Helm
Helm helm
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 5.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-17T17:25:42.234Z

Reserved: 2026-07-16T12:13:18.733Z

Link: CVE-2026-63308

cve-icon Vulnrichment

Updated: 2026-07-17T17:25:39.025Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T00:15:05Z

Weaknesses
  • CWE-129

    Improper Validation of Array Index