Out-of-bounds Read Affecting kube-metrics-adapter package, versions <0.2.8-r8


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-KUBEMETRICSADAPTER-16096658
  • published17 Apr 2026
  • disclosed21 Apr 2026

Introduced: 17 Apr 2026

CVE-2026-40890  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Chainguard kube-metrics-adapter to version 0.2.8-r8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kube-metrics-adapter package and not the kube-metrics-adapter package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

The package github.com/gomarkdown/markdown is a Go library for parsing Markdown text and rendering as HTML. Processing a malformed input containing a < character that is not followed by a > character anywhere in the remaining text with a SmartypantsRenderer will lead to Out of Bounds read or a panic. This vulnerability is fixed with commit 759bbc3e32073c3bc4e25969c132fc520eda2778.