CVE-2026-95839: containerd crashes on an image manifest with a malformed digest

ByLinuxtastic

November 30, 2026 #containerd, #CVE

containerd, the runtime underneath Docker Engine and most Kubernetes nodes that do not use CRI-O, crashes outright when it processes an image manifest whose child descriptor carries the io.containerd.manifest.subject annotation and a malformed digest: a validation step that should have rejected the digest instead panics, and the panic is not recovered, so the whole daemon exits. Pulling or importing such an image, including through an ordinary CRI PullImage from kubelet, is enough; on Kubernetes, kubelet’s retry loop then crashes containerd again and again. Upgrade containerd to 2.2.10, 2.3.7 or 2.4.2 (Docker Engine 29.9.1 bundles 2.4.2) and restrict image pulls to trusted registries until you have. The project credits melihgurlek, LEI WANG (ssst0n3), Haoyuan Zhang (zj1ng7) and OpenSec Intelligence, who found it independently.

CVE-2026-95839 at a glance.

Componentcontainerd, image manifest handling in the transfer service (core/images/handlers.go, the referrer-label computation); shipped as the distributions’ containerd / containerd.io packages, inside Docker Engine, and on Kubernetes nodes (k3s, RKE2, kubeadm with containerd, most managed node images)
Affected versions2.2.0 to 2.2.9, 2.3.0 to 2.3.6, 2.4.0 to 2.4.1; the 1.6 and 1.7 lines are not affected (“vulnerable code introduced later”, per Debian), nor is 2.1
Fixed in2.2.10, 2.3.7 and 2.4.2, released 13 October 2026; commit 20a3b313 “images: skip malformed digests when computing referrer labels” on main, cherry-picked as a2eb01f6 (2.4), 2455fec2 (2.2) and 2181d7ba; Docker Engine 29.9.1 (14 October 2026) ships containerd 2.4.2. No distribution ships an affected version: Debian’s packages are 1.6, 1.7 and 2.1; Ubuntu’s containerd rows are still “needs evaluation”
SeverityGitHub (CNA) CVSS 4.0 7.1 High (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H), the project’s own label “Moderate”, CWE-248 (uncaught exception); NVD Received, SSVC exploitation none, automatable no, technical impact partial. Red Hat Moderate, CVSS 3.1 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), verified; Ubuntu medium
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.27). EPSS 0.0048 (42nd percentile) on 24 November 2026
Who is exposedAny host running containerd 2.2 to 2.4 that pulls images it does not control: a Kubernetes node where any tenant can create a pod with an arbitrary image reference, a CI runner that builds from pull requests, a Docker host whose users can docker pull or ctr image import. The PR:L in the vector is the right to cause a pull; the attacker also needs a registry, or a tarball, that serves the crafted manifest. Red Hat notes that OpenShift uses CRI-O rather than containerd and is “largely unimpacted by default”
PublishedAdvisory and fixed releases 13 October 2026; CVE record 16 November 2026; this page built 1 December 2026, last updated 1 December 2026

What it is

OCI image manifests can point at other manifests, and since the referrers API arrived a manifest can carry a subject that names the thing it is attached to, a signature or an SBOM attached to an image, say. containerd records those relationships as labels on the content it stores, and when it walks a manifest’s children through the transfer service it reads each child’s digest to compute the label. The advisory, GHSA-vwhp-8p66-mq4f, says “a bug in containerd’s image manifest processing causes an unrecovered panic when a child descriptor contains the io.containerd.manifest.subject annotation and a malformed digest”. The fix commit’s message says a digest “with an invalid algorithm separator or fewer than 12 hex characters previously panicked”, and adds a validation step that skips such children instead.

The fix is small: core/images/handlers.go gains twenty lines and loses one, and handlers_test.go gains the test. The consequence of the bug is not small, because an unrecovered panic in Go takes the whole process down, and containerd is the process every container on the host depends on. Running containers keep running (their shims are separate processes) but nothing new can start, kubelet cannot report, and on Kubernetes the pod that caused it is retried with backoff, which the advisory spells out: “a pod referencing an untrusted image” can “repeatedly crash containerd”. The CWE is 248, uncaught exception, and the score differences between GitHub’s 7.1 and Red Hat’s 6.5 are the usual CVSS 4.0 versus 3.1 gap for an authenticated availability-only flaw.

The timeline matters for anyone matching this to their patch records: the advisory and the three fixed releases went out on 13 October 2026, Docker Engine 29.9.1 followed on 14 October with containerd 2.4.2 inside, and the CVE record was not published until 16 November. A host updated in mid-October is already fixed; the November CVE is the paperwork catching up. Two of the four fix commits, and the 2.3.7 release page, were rate-limited or refused when we read them, so the 2.3 backport is taken from the advisory’s version list rather than its commit.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. Most production containerd binaries come from Docker’s repository (containerd.io), a Kubernetes distribution or a cloud node image, not from the distribution’s own package.

DistributionStatusFixed package
AlpineRefused our reader; not consultedlook for containerd at 2.2.10 / 2.3.7 / 2.4.2 or later
DebianNot affected: bookworm 1.6.20~ds1-1+deb12u3, trixie 1.7.24~ds1-6+deb13u1, forky and sid 2.1.9+ds1-5, “vulnerable code introduced later”none needed
Ubuntumedium; containerd, containerd-app and containerd-stable needs evaluation on every release; upstream marked not affected for containerd on the same reasoning as Debiannone yet; no USN
RHEL, OpenShiftModerate, 6.5, CWE-248 (bug 2573837); no RHEL or OpenShift containerd row, since OpenShift standardises on CRI-O; “Fix deferred” for several layered products that vendor containerd’s Go module (Logging, Migration Toolkit for Virtualization, ACM, Ceph Storage 8 and 9, Trusted Artifact Signer); Hardened Images syft, trivy and grype rebuilt (RHSA-2026:96773, 100124, 102263)none for RHEL itself
openSUSE/SLERefused our reader; not consulted—
Docker’s containerd.io; k3s, RKE2; Fedora, Arch; cloud node imagesNot consulted; the upstream release applies. Docker Engine 29.9.1 (14 October 2026) bundles 2.4.2containerd.io 2.4.2 or later from download.docker.com; k3s and RKE2 embed their own containerd, so take the release that updates it

How to check

Three questions: which containerd is running (the binary, not the package list, because k3s and Docker bring their own), whether it is a 2.2 to 2.4 build below the fix, and who can make it pull an image.

# 1. the running containerd and its version
for p in $(pgrep -x containerd); do echo "pid $p: $(readlink /proc/$p/exe)"; done
containerd --version 2>/dev/null; /usr/bin/containerd --version 2>/dev/null
k3s --version 2>/dev/null | grep -i containerd; rke2 --version 2>/dev/null | grep -i containerd
docker version --format '{{.Server.Version}} containerd {{range .Server.Components}}{{if eq .Name "containerd"}}{{.Version}}{{end}}{{end}}' 2>/dev/null

# 2. is it in the affected window? (2.2.0-2.2.9, 2.3.0-2.3.6, 2.4.0-2.4.1)
v=$(containerd --version 2>/dev/null | awk '{print $3}' | tr -d v); echo "version $v"; printf '%s\n' "$v" | grep -qE '^2\.(2\.[0-9]|3\.[0-6]|4\.[01])$' && echo AFFECTED

# 3. who can trigger a pull: on Kubernetes, anyone who can create pods; on a Docker host, the docker group
kubectl auth can-i create pods --all-namespaces --as=system:serviceaccount:default:default 2>/dev/null
kubectl get validatingadmissionpolicies,validatingwebhookconfigurations 2>/dev/null | grep -iE 'image|registry'
getent group docker

A containerd at 2.2.10, 2.3.7, 2.4.2 or later, or any 1.x or 2.1, is not affected. If the running binary differs from what the package manager thinks is installed, the first block shows which one matters. On Kubernetes, an empty result from the admission query in the third block means any pod author can point a node at any registry, which is the condition the advisory’s workaround addresses.

How to fix it

Upgrade containerd to the fixed release of the line you run and restart it; running containers survive a containerd restart because their shims are separate processes, but anything that needs the daemon during the restart (pod scheduling, docker exec) will pause. On Kubernetes, drain the node first as for any runtime upgrade.

# Docker's repository (Debian/Ubuntu and RHEL-family hosts running Docker Engine)
apt update && apt install --only-upgrade containerd.io docker-ce    # or: dnf upgrade containerd.io docker-ce
systemctl restart containerd docker
# a kubeadm node with containerd from Docker's repo
kubectl drain NODE --ignore-daemonsets && apt install --only-upgrade containerd.io && systemctl restart containerd && kubectl uncordon NODE
# k3s / RKE2: upgrade to the first release that embeds containerd 2.4.2 / 2.3.7 (the release notes say which)
containerd --version

The advisory’s workaround until then is to “restrict pod image references to trusted registries (for example, using a Kubernetes ValidatingAdmissionPolicy or admission webhook) and only pull or import images from trusted sources”. Red Hat adds the caveat that this “does not protect against malformed manifests from approved registries”, which is a reason to treat it as a stopgap: a registry you trust can still relay a manifest it did not inspect. What not to do: do not disable kubelet’s image pull backoff or restart loop to “stop the crashing”, because the loop is the symptom and the next pull will do it again; and do not read Debian’s “not affected” as covering a host that installed containerd.io from Docker’s repository, which is a different package with a different version.

# the advisory's workaround as a ValidatingAdmissionPolicy (Kubernetes 1.30+): only images from your registry
cat <<'EOF' | kubectl apply -f -
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingAdmissionPolicy
metadata: {name: trusted-registries}
spec:
  failurePolicy: Fail
  matchConstraints:
    resourceRules:
    - apiGroups: [""]
      apiVersions: ["v1"]
      operations: ["CREATE","UPDATE"]
      resources: ["pods"]
  validations:
  - expression: "object.spec.containers.all(c, c.image.startsWith('registry.example.internal/'))"
    message: "images must come from registry.example.internal"
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingAdmissionPolicyBinding
metadata: {name: trusted-registries}
spec:
  policyName: trusted-registries
  validationActions: [Deny]
EOF

Sources

  • CVE-2026-95839 at CVE.org — the GitHub CNA record (16 November 2026): the description, the affected ranges, CVSS 4.0 7.1, CWE-248
  • GHSA-vwhp-8p66-mq4f — the project advisory of 13 October 2026: “Moderate”, the mechanism, the kubelet retry note, the workaround, the credits
  • Fix commits 20a3b313 (main) and a2eb01f6 (2.4 backport) — “images: skip malformed digests when computing referrer labels”, core/images/handlers.go and its test; 2455fec2 (2.2) and 2181d7ba were rate-limited when we read them
  • Release notes v2.2.10 and v2.4.2 (13 October 2026), both naming this CVE; v2.3.7 refused our reader
  • Docker Engine 29 release notes — 29.9.1 of 14 October 2026: “the containerd update to v2.4.2 includes fixes for the following security vulnerabilities”, listing CVE-2026-95839
  • Red Hat CVE page and bug 2573837 — Moderate 6.5, CWE-248, the CRI-O statement, the deferred-fix product list, the mitigation and its caveat
  • NVD entry — Received; the GitHub CVSS 4.0 vector and the SSVC; no CPEs yet
  • Distribution trackers: Debian (not affected) · Ubuntu (medium, needs evaluation) · SUSE and Alpine refused our reader
  • CISA KEV catalogue 2026.11.27, not listed · EPSS score for this CVE, 24 November 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.