CVE-2025-55198: Helm.sh/helm/v3 Helm May Panic Due To Vulnerability

MODERATE
Advisory Identifier: GHSA-f9f8-9pmf-xv68
CVSS 6.5
CWE-908
Published
Advisory Summary

CVE-2025-55198 is a MODERATE (CVSS 6.5) helm may panic due to vulnerability (CWE-908: Use of Uninitialized Resource) affecting Helm.sh/helm/v3 libraries in the Go ecosystem. The issue involves helm may panic due to incorrect yaml content. Remediation is available by upgrading affected packages to version 3.18.5.

CVE-2025-55198 at a Glance

CVE Identifier CVE-2025-55198
GHSA Identifier GHSA-f9f8-9pmf-xv68
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-908: Use of Uninitialized Resource
Affected Product Helm.sh/helm/v3
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2025-55198

To remediate this vulnerability, upgrade all affected Helm.sh/helm/v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

helm.sh/helm/v3 fixed: 3.18.5
Upgrade helm.sh/helm/v3 to 3.18.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for helm.sh/helm/v3

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-55198, inspect your project dependencies for Helm.sh/helm/v3:

inspect dependencies for helm.sh/helm/v3

Analyze the terminal output to locate any version of Helm.sh/helm/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.18.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-908: Use of Uninitialized Resource, where the product uses or accesses a resource that has not been initialized. In Helm.sh/helm/v3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A Helm contributor discovered an improper validation of type error when parsing Chart.yaml and index.yaml files that can lead to a panic. ### Impact There are two areas of YAML validation that were impacted. First, when a `Chart.yaml` file had a `null` maintainer or the `child` or `parent` of a dependencies `import-values` could be parsed as something other than a string, `helm lint` would panic. Second, when an `index.yaml` had an empty entry in the list of chart versions Helm would panic on interactions with that repository. ### Patches This issue has been resolved in Helm v3.18.5. ### Workarounds Ensure YAML files are formatted as Helm expects prior to processing them with Helm. ### References Helm's security policy is spelled out in detail in our [SECURITY](https://github.com/helm/community/blob/master/SECURITY.md) document. ### Credits Disclosed by Jakub Ciolek at AlphaSense.

CVE-2025-55198 Affected Helm.sh/helm/v3 Versions

1 component(s)
Fixed Versions:
3.18.5
Product / Package Ecosystem Affected Versions Fixed Version
helm.sh/helm/v3
Go
< 3.18.5
3.18.5

References

Frequently Asked Questions

What is CVE-2025-55198?
CVE-2025-55198 is a security vulnerability in Helm.sh/helm/v3 involving Helm May Panic Due To Incorrect YAML Content under CWE-908: Use of Uninitialized Resource.
Which Helm.sh/helm/v3 versions are affected?
Affected versions include releases prior to 3.18.5 across affected packages: helm.sh/helm/v3.
What version fixes CVE-2025-55198?
Upgrading to 3.18.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is helm.sh/helm/v3 affected?
Yes, helm.sh/helm/v3 is affected in releases prior to 3.18.5. Upgrade your dependency to 3.18.5 or later.
What is the CVSS score of CVE-2025-55198?
CVE-2025-55198 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-55198?
CVE-2025-55198 is classified under CWE-908: Use of Uninitialized Resource (The product uses or accesses a resource that has not been initialized.).
How can I check Go dependencies for CVE-2025-55198?
Run the dependency tree command: 'inspect dependencies for helm.sh/helm/v3'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f9f8-9pmf-xv68",
  "modified" : "2025-08-14T17:15:20Z",
  "published" : "2025-08-14T00:05:27Z",
  "aliases" : [ "CVE-2025-55198" ],
  "summary" : "Helm May Panic Due To Incorrect YAML Content",
  "details" : "A Helm contributor discovered an improper validation of type error when parsing Chart.yaml and index.yaml files that can lead to a panic.\n\n### Impact\n\nThere are two areas of YAML validation that were impacted. First, when a `Chart.yaml` file had a `null` maintainer or the `child` or `parent` of a dependencies `import-values` could be parsed as something other than a string, `helm lint` would panic. Second, when an `index.yaml` had an empty entry in the list of chart versions Helm would panic on interactions with that repository.\n\n### Patches\n\nThis issue has been resolved in Helm v3.18.5.\n\n### Workarounds\n\nEnsure YAML files are formatted as Helm expects prior to processing them with Helm.\n\n### References\n\nHelm's security policy is spelled out in detail in our [SECURITY](https://github.com/helm/community/blob/master/SECURITY.md) document.\n\n### Credits\n\nDisclosed by Jakub Ciolek at AlphaSense.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "helm.sh/helm/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.18.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/security/advisories/GHSA-f9f8-9pmf-xv68"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55198"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/helm/helm/commit/ec5f59e2db56533d042a124f5bae54dd87b558e6"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/helm/helm"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-908" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-14T00:05:27Z",
    "nvd_published_at" : "2025-08-14T00:15:26Z"
  }
}