Allocation of Resources Without Limits or Throttling Affecting github.com/containerd/containerd/v2/pkg/archive package, versions <2.0.12>=2.2.0-beta.0 <2.2.8>=2.3.0-beta.0 <2.3.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (11th 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 Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCONTAINERDCONTAINERDV2PKGARCHIVE-20883255
  • published13 Oct 2026
  • disclosed12 Oct 2026
  • creditJakub Ciolek

Introduced: 12 Oct 2026

NewCVE-2026-95838  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade github.com/containerd/containerd/v2/pkg/archive to version 2.0.12, 2.2.8, 2.3.5 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the applyNaive function in pkg/archive/tar.go, where each .wh..wh..opq entry triggers a full filepath.Walk of the containing directory with no record of directories already processed and no descent pruning once a subtree has been removed. An attacker can force superlinear unpack times and sustained CPU use by publishing an image layer that repeats opaque directory markers over a deep tree, which delays container startup even though the compressed layer is small. Reaching the condition requires the host to pull or import the image, and under an orchestrator that caps concurrent image pulls, such as Kubernetes, the long running operations also consume pull slots needed by unrelated workloads.

CVSS Base Scores

version 4.0
version 3.1