High severity · published Mar 17, 2025
CVE-2024-40635
containerd has an integer overflow in User ID handling
7.8
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 23% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
containerd · containerd
< 1.6.38; >= 1.7.0-beta.0, < 1.7.27; >= 2.0.0-beta.0, < 2.0.4 · source: vendor, NVD
DL
Debian Linux · Debian
11.0 · source: NVD
Affected product
CO
containerd
containerd
More from containerd
9.9
CVE-2026-50195
containerd: CRI checkpoint import allows local image tag poisoning
9.6
CVE-2026-53492
containerd CRI checkpoint restore CDI annotation smuggling
8.8
CVE-2026-53488
containerd CRI plugin: — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull
7.8
CVE-2026-95837
containerd CRI plugin: Checkpoint restore bypasses destination security context
7.8
CVE-2026-46680
containerd user ID handling bypass allows runAsNonRoot evasion