CVE-2026-95838
JSON

4.6medium

containerd: Unpack DoS via repeated opaque whiteouts

Severity
4.6medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rp3h-jf77-q9p4GO-2026-6796

Description

containerd is an open-source container runtime. Prior to 1.7.35, 2.0.12, 2.2.8, and 2.3.5, containerd's layer unpack handler repeatedly traverses directories for certain opaque whiteout configurations. A malicious image layer can trigger repeated directory traversals while opaque whiteouts are processed. Pulling or importing the image can consume CPU, delay container startup, and reduce image-pull concurrency for unrelated deployments. This issue is fixed in versions 1.7.35, 2.0.12, 2.2.8, and 2.3.5.

Affected

Product or packageVersionsReported by
containerd containerd< 1.7.35, >= 2.0.0-beta.0, < 2.0.12, >= 2.2.0, < 2.2.8, >= 2.3.0, < 2.3.5CVE List
github.com/containerd/containerd/v2 (Go)before 2.0.12, from 2.2.0 before 2.2.8, from 2.3.0 before 2.3.5GitHub Advisory Database, Go Vulnerability Database
github.com/containerd/containerd (Go)before 1.7.35GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M4.6medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Classification

CWE-400CWE-407

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

containerd is an open-source container runtime. Prior to 1.7.35, 2.0.12, 2.2.8, and 2.3.5, containerd's layer unpack handler repeatedly traverses directories for certain opaque whiteout configurations. A malicious image layer can trigger repeated directory traversals while opaque whiteouts are processed. Pulling or importing the image can consume CPU, delay container startup, and reduce image-pull concurrency for unrelated deployments. This issue is fixed in versions 1.7.35, 2.0.12, 2.2.8, and 2.3.5.

GitHub Advisory Database
Impact

A vulnerability exists in containerd's layer unpack handler where the processing of certain image layers causes superlinear time complexity. During the unpack operation, specific file configurations within the layer can trigger repeated directory traversals.

Consequently, pulling or importing a maliciously crafted image can result in increased unpack times and a moderate increase in CPU usage. This delays container startup, even if the compressed image layers are small. Additionally, in orchestrators like Kubernetes that apply concurrency limits to image pulls, these excessively long operations can reduce the available concurrency for other pulls, potentially delaying unrelated container deployments.

Patches

This bug has been fixed in containerd 2.3.5, 2.2.8, 2.0.12, and 1.7.35. Users should update to these versions to resolve the issue.

Workarounds

There are no known workarounds for this issue. Users are advised to only pull and import trusted images from known registries until the patch can be applied.

Credits

The containerd project would like to thank Jakub Ciolek of AlphaSense for responsibly disclosing this issue in accordance with the containerd security policy.

For more information

If you have any questions or comments about this advisory:

To report a security issue in containerd:

Go Vulnerability Database

containerd: Unpack DoS via repeated opaque whiteouts in github.com/containerd/containerd

References

Sources

SourceRecordLicence
CVE ListCVE-2026-95838 changed 2026-10-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-rp3h-jf77-q9p4 changed 2026-10-19CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6796 changed 2026-10-19CC-BY-4.0
NVDCVE-2026-95838 changed 2026-10-16Public domain