CVE-2024-40635: containerd is an open-source container runtime
Affects containerdSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 1.2.6-0ubuntu1~16.04.6+esm5 : patch containerd soon.
Data as of 24 Nov 2026, 19:27 UTC
- Patch
- Available – fixed in 1.2.6-0ubuntu1~16.04.6+esm5, 1.6.12-0ubuntu1~18.04.1+esm2, 1.6.12-0ubuntu1~20.04.8 +6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10containerd-apppkg:deb/ubuntu/containerd-app?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTScontainerd-apppkg:deb/ubuntu/containerd-app?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 24.04 LTScontainerdpkg:deb/ubuntu/containerd?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTScontainerdpkg:deb/ubuntu/containerd?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTScontainerd-apppkg:deb/ubuntu/containerd-app?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTScontainerdpkg:deb/ubuntu/containerd?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
containerd is an open-source container runtime. A bug was found in containerd prior to versions 1.6.38, 1.7.27, and 2.0.4 where containers launched with a User set as a `UID:GID` larger than the maximum 32-bit signed integer can cause an overflow condition where the container ultimately runs as root (UID 0). This could cause unexpected behavior for environments that require containers to run as a non-root user. This bug has been fixed in containerd 1.6.38, 1.7.27, and 2.04. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.
References
- ubuntu.com/security/CVE-2024-40635 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-40635 (opens in a new tab)
- github.com/containerd/containerd/security/advisories/GHSA-265r-hfxg-fhmg (opens in a new tab)
- github.com/containerd/containerd/commit/11504c3fc5f45634f2d93d57743a998194430b82 (opens in a new tab)
- github.com/containerd/containerd/commit/9639b9625554183d0c4d8d072dccb84fedd2320f (opens in a new tab)
- github.com/containerd/containerd/commit/05044ec0a9a75232cad458027ca83437aae3f4da (opens in a new tab)
- github.com/containerd/containerd/commit/1a43cb6a1035441f9aca8f5666a9b3ef9e70ab20 (opens in a new tab)
- github.com/containerd/containerd/commit/cf158e884cfe4812a6c371b59e4ea9bc4c46e51a (opens in a new tab)
- ubuntu.com/security/notices/USN-7374-1 (opens in a new tab)