{"id":"GHSA-rp3h-jf77-q9p4","summary":"containerd: Unpack DoS via repeated opaque whiteouts","details":"### Impact\n\nA 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.\n\nConsequently, 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.\n\n### Patches\n\nThis 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.\n\n### Workarounds\n\nThere 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.\n\n### Credits\n\nThe containerd project would like to thank Jakub Ciolek of AlphaSense for responsibly disclosing this issue in accordance with the [containerd security policy](https://github.com/containerd/project/blob/main/SECURITY.md).\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [containerd](https://github.com/containerd/containerd/issues/new/choose)\n* Email us at [security@containerd.io](mailto:security@containerd.io)\n\nTo report a security issue in containerd:\n* [Report a new vulnerability](https://github.com/containerd/containerd/security/advisories/new)\n* Email us at [security@containerd.io](mailto:security@containerd.io)","aliases":["CVE-2026-95838"],"modified":"2026-10-15T20:30:06.948548977Z","published":"2026-10-15T20:22:05Z","database_specific":{"nvd_published_at":"2026-10-12T20:17:10Z","cwe_ids":["CWE-400","CWE-407"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-10-15T20:22:05Z"},"references":[{"type":"WEB","url":"https://github.com/containerd/containerd/security/advisories/GHSA-rp3h-jf77-q9p4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-95838"},{"type":"WEB","url":"https://github.com/containerd/containerd/commit/e6ca378dcfa610d06589a3ac96aa992de866e4f0"},{"type":"PACKAGE","url":"https://github.com/containerd/containerd"}],"affected":[{"package":{"name":"github.com/containerd/containerd/v2","ecosystem":"Go","purl":"pkg:golang/github.com/containerd/containerd/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.12"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rp3h-jf77-q9p4/GHSA-rp3h-jf77-q9p4.json"}},{"package":{"name":"github.com/containerd/containerd","ecosystem":"Go","purl":"pkg:golang/github.com/containerd/containerd"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.35"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rp3h-jf77-q9p4/GHSA-rp3h-jf77-q9p4.json"}},{"package":{"name":"github.com/containerd/containerd/v2","ecosystem":"Go","purl":"pkg:golang/github.com/containerd/containerd/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.2.0"},{"fixed":"2.2.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rp3h-jf77-q9p4/GHSA-rp3h-jf77-q9p4.json"}},{"package":{"name":"github.com/containerd/containerd/v2","ecosystem":"Go","purl":"pkg:golang/github.com/containerd/containerd/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.3.0"},{"fixed":"2.3.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rp3h-jf77-q9p4/GHSA-rp3h-jf77-q9p4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}