CVE-2026-95838: containerd Denial of Service Vulnerability
MODERATECVE-2026-95838 is a MODERATE denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting containerd libraries in the Go ecosystem. The issue involves unpack dos via repeated opaque whiteouts. Remediation is available by upgrading affected packages to version 2.0.12, 1.7.35, 2.2.8, 2.3.5.
CVE-2026-95838 at a Glance
How to Fix CVE-2026-95838
To remediate this vulnerability, upgrade all affected containerd dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/containerd/containerd/v2 to 2.0.12
Upgrade github.com/containerd/containerd to 1.7.35
Upgrade github.com/containerd/containerd/v2 to 2.2.8
Upgrade github.com/containerd/containerd/v2 to 2.3.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/containerd/containerd/v2
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-95838, inspect your project dependencies for containerd:
inspect dependencies for github.com/containerd/containerd/v2
Analyze the terminal output to locate any version of containerd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.12), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In containerd, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-95838 Affected containerd Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/containerd/containerd/v2
|
Go |
< 2.0.12
|
2.0.12
|
|
github.com/containerd/containerd
|
Go |
< 1.7.35
|
1.7.35
|
|
github.com/containerd/containerd/v2
|
Go |
≥ 2.2.0
< 2.2.8
|
2.2.8
|
|
github.com/containerd/containerd/v2
|
Go |
≥ 2.3.0
< 2.3.5
|
2.3.5
|
References
Frequently Asked Questions
What is CVE-2026-95838?
Which containerd versions are affected?
What version fixes CVE-2026-95838?
Is github.com/containerd/containerd/v2 affected?
Is github.com/containerd/containerd affected?
What CWE is associated with CVE-2026-95838?
How can I check Go dependencies for CVE-2026-95838?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rp3h-jf77-q9p4",
"modified" : "2026-10-15T20:22:05Z",
"published" : "2026-10-15T20:22:05Z",
"aliases" : [ "CVE-2026-95838" ],
"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)",
"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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containerd/containerd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containerd/containerd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.35"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containerd/containerd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containerd/containerd/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.5"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-407" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-15T20:22:05Z",
"nvd_published_at" : "2026-10-12T20:17:10Z"
}
}