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 package | Versions | Reported 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.5 | CVE 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.5 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/containerd/containerd (Go) | before 1.7.35 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 4.6medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS: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
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:
- Open an issue in containerd
- Email us at security@containerd.io
To report a security issue in containerd:
- Report a new vulnerability
- Email us at security@containerd.io
Go Vulnerability Database
containerd: Unpack DoS via repeated opaque whiteouts in github.com/containerd/containerd
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-95838 changed 2026-10-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rp3h-jf77-q9p4 changed 2026-10-19 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6796 changed 2026-10-19 | CC-BY-4.0 |
| NVD | CVE-2026-95838 changed 2026-10-16 | Public domain |