Improper Validation of Array Index Affecting github.com/containerd/containerd/v2/core/images package, versions >=2.2.0-beta.2 <2.2.10>=2.3.0-beta.0 <2.3.7>=2.4.0-beta.0 <2.4.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (42nd 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 IDSNYK-GOLANG-GITHUBCOMCONTAINERDCONTAINERDV2COREIMAGES-22744967
  • published23 Nov 2026
  • disclosed13 Nov 2026
  • creditLei Wang, zj1ng7, Kushal Khemka, Mayank Jangid, Kkartik Aggarwal, Melih Gürlek

Introduced: 13 Nov 2026

NewCVE-2026-95839  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade github.com/containerd/containerd/v2/core/images to version 2.2.10, 2.3.7, 2.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index in the SetChildrenMappedLabels function in core/images/handlers.go, which slices the first 12 hex characters from a child descriptor's digest to build a referrer label without validating the digest. An attacker can crash the containerd daemon by having it pull or import an image whose manifest contains a child descriptor with the io.containerd.manifest.subject annotation and a malformed or short digest. In Kubernetes, kubelet retries the failed pull with backoff, so a pod that references the image repeatedly crashes containerd on the node.

CVSS Base Scores

version 4.0
version 3.1