CVE-2026-62370: KubeEdge Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-gfw4-49f9-cp25
CVSS 6.5
CWE-789
Published
Advisory Summary

CVE-2026-62370 is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-789: Memory Allocation with Excessive Size Value) affecting KubeEdge libraries in the Go ecosystem. The issue involves unbounded allocation in viaduct packer enables authenticated remote dos against cloudhub. Remediation is available by upgrading affected packages to version 1.21.2, 1.22.2, 1.23.1.

CVE-2026-62370 at a Glance

CVE Identifier CVE-2026-62370
GHSA Identifier GHSA-gfw4-49f9-cp25
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-789: Memory Allocation with Excessive Size Value
Affected Product KubeEdge
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:L/UI:N/S:U/C:N/I:N/A:H).

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

How to Fix CVE-2026-62370

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

github.com/kubeedge/kubeedge fixed: 1.21.2
Upgrade github.com/kubeedge/kubeedge to 1.21.2
github.com/kubeedge/kubeedge fixed: 1.22.2
Upgrade github.com/kubeedge/kubeedge to 1.22.2
github.com/kubeedge/kubeedge fixed: 1.23.1
Upgrade github.com/kubeedge/kubeedge to 1.23.1
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 github.com/kubeedge/kubeedge

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-62370, inspect your project dependencies for KubeEdge:

inspect dependencies for github.com/kubeedge/kubeedge

Analyze the terminal output to locate any version of KubeEdge in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.21.2), 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-789: Memory Allocation with Excessive Size Value, where the product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated. In KubeEdge, 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

## Summary KubeEdge CloudHub uses the viaduct packer to decode messages received from connected peers. The packer reads a 32-bit payload length from the message header and previously allocated a buffer of that size without enforcing an upper bound. An authenticated peer that can establish a viaduct connection to CloudHub can send a crafted message header containing an excessively large payload length. This may cause CloudHub to allocate a large amount of memory and can result in memory exhaustion, process termination, or denial of service. ## Impact A successfully authenticated malicious or compromised edge node may repeatedly send crafted viaduct message headers to increase CloudHub memory consumption. Depending on available memory and deployment limits, exploitation may cause: * Increased CloudHub memory usage * Out-of-memory termination * CloudHub restart loops * Temporary disruption of cloud-edge communication Authentication to the viaduct endpoint is required. This issue does not provide unauthenticated access or direct code execution. ## Root cause The viaduct packer trusted the payload length encoded in the message header and allocated the payload buffer before validating whether the declared length was within an acceptable range. ## Fix The fix introduces a maximum viaduct payload size of 32 MiB. The updated implementation: * Rejects oversized payload lengths in the reader before memory allocation * Enforces the same maximum size in the writer * Adds regression tests covering oversized and valid payloads Fixes have been prepared for the following patch releases: * KubeEdge v1.23.1 * KubeEdge v1.22.2 * KubeEdge v1.21.2 These versions should not be listed as released until the coordinated release process is complete. ## Workarounds Before patched versions are available, operators should: * Restrict access to the CloudHub endpoint to trusted edge nodes and networks * Protect and rotate edge-node credentials * Revoke credentials belonging to decommissioned or potentially compromised nodes * Apply memory limits and restart policies to the CloudHub workload * Monitor CloudHub memory consumption and unexpected connection activity ## Affected component * `pkg/viaduct/pkg/packer` * CloudHub viaduct message-processing path ## Credits KubeEdge thanks Sang-Hoon Choi ([KoreaSecurity](https://github.com/KoreaSecurity), Sejong University) for responsibly reporting this issue and for coordinating with the KubeEdge maintainers through the security disclosure process.

CVE-2026-62370 Affected KubeEdge Versions

3 component(s)
Fixed Versions:
1.21.21.22.21.23.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/kubeedge/kubeedge
Go
≥ 1.0.0
< 1.21.2
1.21.2
github.com/kubeedge/kubeedge
Go
≥ 1.22.0
< 1.22.2
1.22.2
github.com/kubeedge/kubeedge
Go
≥ 1.23.0
< 1.23.1
1.23.1

References

Frequently Asked Questions

What is CVE-2026-62370?
CVE-2026-62370 is a security vulnerability in KubeEdge involving Unbounded allocation in viaduct packer enables authenticated remote DoS against CloudHub under CWE-789: Memory Allocation with Excessive Size Value.
Which KubeEdge versions are affected?
Affected versions include releases prior to 1.21.2, 1.22.2, 1.23.1 across affected packages: github.com/kubeedge/kubeedge.
What version fixes CVE-2026-62370?
Upgrading to 1.21.2, 1.22.2, 1.23.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/kubeedge/kubeedge affected?
Yes, github.com/kubeedge/kubeedge is affected in releases prior to 1.21.2, 1.22.2, 1.23.1. Upgrade your dependency to 1.21.2, 1.22.2, 1.23.1 or later.
What is the CVSS score of CVE-2026-62370?
CVE-2026-62370 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-62370?
CVE-2026-62370 is classified under CWE-789: Memory Allocation with Excessive Size Value (The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.).
How can I check Go dependencies for CVE-2026-62370?
Run the dependency tree command: 'inspect dependencies for github.com/kubeedge/kubeedge'. 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-gfw4-49f9-cp25",
  "modified" : "2026-09-22T20:37:02Z",
  "published" : "2026-09-22T20:37:01Z",
  "aliases" : [ "CVE-2026-62370" ],
  "summary" : "KubeEdge: Unbounded allocation in viaduct packer enables authenticated remote DoS against CloudHub",
  "details" : "## Summary\n\nKubeEdge CloudHub uses the viaduct packer to decode messages received from connected peers. The packer reads a 32-bit payload length from the message header and previously allocated a buffer of that size without enforcing an upper bound.\n\nAn authenticated peer that can establish a viaduct connection to CloudHub can send a crafted message header containing an excessively large payload length. This may cause CloudHub to allocate a large amount of memory and can result in memory exhaustion, process termination, or denial of service.\n\n## Impact\n\nA successfully authenticated malicious or compromised edge node may repeatedly send crafted viaduct message headers to increase CloudHub memory consumption.\n\nDepending on available memory and deployment limits, exploitation may cause:\n\n* Increased CloudHub memory usage\n* Out-of-memory termination\n* CloudHub restart loops\n* Temporary disruption of cloud-edge communication\n\nAuthentication to the viaduct endpoint is required. This issue does not provide unauthenticated access or direct code execution.\n\n## Root cause\n\nThe viaduct packer trusted the payload length encoded in the message header and allocated the payload buffer before validating whether the declared length was within an acceptable range.\n\n## Fix\n\nThe fix introduces a maximum viaduct payload size of 32 MiB.\n\nThe updated implementation:\n\n* Rejects oversized payload lengths in the reader before memory allocation\n* Enforces the same maximum size in the writer\n* Adds regression tests covering oversized and valid payloads\n\nFixes have been prepared for the following patch releases:\n\n* KubeEdge v1.23.1\n* KubeEdge v1.22.2\n* KubeEdge v1.21.2\n\nThese versions should not be listed as released until the coordinated release process is complete.\n\n## Workarounds\n\nBefore patched versions are available, operators should:\n\n* Restrict access to the CloudHub endpoint to trusted edge nodes and networks\n* Protect and rotate edge-node credentials\n* Revoke credentials belonging to decommissioned or potentially compromised nodes\n* Apply memory limits and restart policies to the CloudHub workload\n* Monitor CloudHub memory consumption and unexpected connection activity\n\n## Affected component\n\n* `pkg/viaduct/pkg/packer`\n* CloudHub viaduct message-processing path\n\n## Credits\n\nKubeEdge thanks Sang-Hoon Choi ([KoreaSecurity](https://github.com/KoreaSecurity), Sejong University)\nfor responsibly reporting this issue and for coordinating with the KubeEdge\nmaintainers through the security disclosure process.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kubeedge/kubeedge"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.21.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kubeedge/kubeedge"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.22.0"
      }, {
        "fixed" : "1.22.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kubeedge/kubeedge"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.23.0"
      }, {
        "fixed" : "1.23.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/security/advisories/GHSA-gfw4-49f9-cp25"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-62370"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/pull/7028"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/pull/7029"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/pull/7030"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/commit/0fe1ea18e5d7fde29633286ddf1c7e71cb39606f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/commit/725a73ca35a65d91aa6338e52b8faaab6058f528"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/commit/cc79621943fff9d3f62638d9403ef0cfeda3d0e7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/kubeedge/kubeedge"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.22.md"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.23.md"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/releases/tag/v1.21.2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/releases/tag/v1.22.2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubeedge/kubeedge/releases/tag/v1.23.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-789" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-22T20:37:01Z",
    "nvd_published_at" : "2026-09-21T17:17:36Z"
  }
}