CVE-2025-47291 containerd CRI plugin: Incorrect cgroup hierarchy assignment for containers running in usernamespaced Kubernetes pods.

Medium 4.6 Published Updated

Attackers can cause denial of service on Kubernetes nodes by exploiting incorrect cgroup assignments in usernamespaced containers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-47291?

CVE-2025-47291 is a medium-severity vulnerability in containerd, published on 21 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

containerd is an open-source container runtime. A bug was found in the containerd's CRI implementation where containerd, starting in version 2.0.1 and prior to version 2.0.5, doesn't put usernamespaced containers under the Kubernetes' cgroup hierarchy, therefore some Kubernetes limits are not honored. This may cause a denial of service of the Kubernetes node. This bug has been fixed in containerd 2.0.5+ and 2.1.0+. Users should update to these versions to resolve the issue. As a workaround, disable usernamespaced pods in Kubernetes temporarily.

Weakness: CWE-266

Which versions are affected by CVE-2025-47291?

3 open source packages ship an affected version, including github.com/containerd/containerd/v2. It affects 1 product.

PackageAffectedFixed in
github.com/containerd/containerd/v2 GoFrom 2.0.12.0.5
github.com/containerd/containerd/v2 GoFrom 2.0.12.0.5
github.com/containerd/containerd/v2 GoFrom 2.0.12.0.5

Products include Linuxfoundation Containerd.

How do I fix CVE-2025-47291?

Upgrade github.com/containerd/containerd/v2 to 2.0.5 or later.

Is CVE-2025-47291 being exploited?

There is no known exploitation of CVE-2025-47291 in the wild and no public exploit code.

Sources

Also known as AZL-62003, GHSA-cxfp-7pvr-95ff, GO-2025-3701, MINI-mr8c-4jmc-7x8w, UBUNTU-CVE-2025-47291.

Is CVE-2025-47291 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free