CVE-2024-40635
published medium CVSS 3.1 · 4.6containerd has an integer overflow in User ID handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| containerd | — | containerd< 1.6.38 · >= 1.7.0-beta.0, < 1.7.27 · >= 2.0.0-beta.0, < 2.0.4 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2025-054 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2025-066 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2025-056 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2025-066 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2025-067 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | containerd | Advisory build | 1.4.13~ds1-1~deb11u5 | DLA-4153-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdx86_64 | Advisory build | 1.7.27-16.100.1 | SUSE-SU-2025:1346-1 |
Show 103 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2025-051 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2025-062 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-920 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-987 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | bionic | containerd | Advisory build | 1.6.12-0ubuntu1~18.04.1+esm2 | USN-7374-1 |
| Amazon Linux | AL2 | containerdaarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2025-054 |
| SUSE / openSUSE | SLE-15-SP6 | containerdaarch64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerdppc64le | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerds390x | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerdx86_64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-5 | containerdaarch64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-5 | containerdppc64le | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-5 | containerds390x | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-5 | containerdx86_64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerdaarch64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerdppc64le | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerds390x | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerdx86_64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdaarch64 | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdppc64le | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerds390x | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdx86_64 | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| Ubuntu | focal | containerd | Advisory build | 1.6.12-0ubuntu1~20.04.8 | USN-7374-1 |
| Ubuntu | focal | containerd | Advisory build | 1.7.24-0ubuntu1~20.04.2 | USN-7374-1 |
| Ubuntu | jammy | containerd | Advisory build | 1.6.12-0ubuntu1~22.04.8 | USN-7374-1 |
| Ubuntu | jammy | containerd | Advisory build | 1.7.24-0ubuntu1~22.04.2 | USN-7374-1 |
| Ubuntu | noble | containerd | Advisory build | 1.6.24~ds1-1ubuntu1.2+esm1 | USN-7374-1 |
| Ubuntu | noble | containerd | Advisory build | 1.7.24-0ubuntu1~24.04.2 | USN-7374-1 |
| Ubuntu | xenial | containerd | Advisory build | 1.2.6-0ubuntu1~16.04.6+esm5 | USN-7374-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerd-ctrx86_64 | Advisory build | 1.7.27-16.100.1 | SUSE-SU-2025:1346-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerd-develx86_64 | Advisory build | 1.7.27-16.100.1 | SUSE-SU-2025:1346-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerd-ctraarch64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerd-ctrppc64le | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerd-ctrs390x | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerd-ctrx86_64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerd-develaarch64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerd-develppc64le | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerd-devels390x | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | SLE-15-SP6 | containerd-develx86_64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerd-ctraarch64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerd-ctrppc64le | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerd-ctrs390x | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerd-ctrx86_64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerd-develaarch64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerd-develppc64le | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerd-devels390x | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | containerd-develx86_64 | Advisory build | 1.7.27-150000.123.1 | SUSE-SU-2025:1345-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctlaarch64 | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctlppc64le | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctls390x | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctlx86_64 | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-bash-completionaarch64 | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-bash-completionppc64le | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-bash-completions390x | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-bash-completionx86_64 | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-fish-completionaarch64 | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-fish-completionppc64le | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-fish-completions390x | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-fish-completionx86_64 | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-zsh-completionaarch64 | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-zsh-completionppc64le | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-zsh-completions390x | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cmctl-zsh-completionx86_64 | Advisory build | 2.2.0-1.1 | OPENSUSE-SU-2025:15039-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerd-ctraarch64 | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerd-ctrppc64le | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerd-ctrs390x | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerd-ctrx86_64 | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerd-develaarch64 | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerd-develppc64le | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerd-devels390x | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerd-develx86_64 | Advisory build | 1.7.27-1.1 | OPENSUSE-SU-2025:15169-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250318T181448-1.1 | OPENSUSE-SU-2025:14910-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250318T181448-1.1 | OPENSUSE-SU-2025:14910-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250318T181448-1.1 | OPENSUSE-SU-2025:14910-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250318T181448-1.1 | OPENSUSE-SU-2025:14910-1 |
| Ubuntu | bionic | golang-github-containerd-containerd-dev | Advisory build | 1.6.12-0ubuntu1~18.04.1+esm2 | USN-7374-1 |
| Ubuntu | focal | containerd-app | Advisory build | 1.7.24-0ubuntu1~20.04.2 | USN-7374-1 |
| Ubuntu | focal | golang-github-containerd-containerd-dev | Advisory build | 1.6.12-0ubuntu1~20.04.8 | USN-7374-1 |
| Ubuntu | jammy | containerd-app | Advisory build | 1.7.24-0ubuntu1~22.04.2 | USN-7374-1 |
| Ubuntu | jammy | golang-github-containerd-containerd-dev | Advisory build | 1.6.12-0ubuntu1~22.04.8 | USN-7374-1 |
| Ubuntu | noble | containerd-app | Advisory build | 1.7.24-0ubuntu1~24.04.2 | USN-7374-1 |
| Ubuntu | noble | golang-github-containerd-containerd-dev | Advisory build | 1.6.24~ds1-1ubuntu1.2+esm1 | USN-7374-1 |
| Ubuntu | xenial | golang-github-docker-containerd-dev | Advisory build | 1.2.6-0ubuntu1~16.04.6+esm5 | USN-7374-1 |
| Amazon Linux | AL2 | containerdaarch64 | Listed in advisory | Not stated | ALAS2ECS-2025-056 |
| Amazon Linux | AL2 | containerdaarch64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2025-051 |
| Amazon Linux | AL2 | containerdsrc | Listed in advisory | Not stated | ALAS2DOCKER-2025-054 |
| Amazon Linux | AL2 | containerdsrc | Listed in advisory | Not stated | ALAS2ECS-2025-056 |
| Amazon Linux | AL2 | containerdsrc | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2025-051 |
| Amazon Linux | AL2 | containerdx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2025-054 |
| Amazon Linux | AL2 | containerdx86_64 | Listed in advisory | Not stated | ALAS2ECS-2025-056 |
| Amazon Linux | AL2 | containerdx86_64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2025-051 |
| Amazon Linux | AL2023 | containerdaarch64 | Listed in advisory | Not stated | ALAS2023-2025-920 |
| Amazon Linux | AL2023 | containerdsrc | Listed in advisory | Not stated | ALAS2023-2025-920 |
| Amazon Linux | AL2023 | containerdx86_64 | Listed in advisory | Not stated | ALAS2023-2025-920 |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2025-066 |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2ECS-2025-066 |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2025-062 |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2DOCKER-2025-066 |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2ECS-2025-066 |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2025-062 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2025-066 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2ECS-2025-066 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| containerd | containerd | < 1.6.38 (affected)>= 1.7.0-beta.0, < 1.7.27 (affected)>= 2.0.0-beta.0, < 2.0.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-190 CWE-190: Integer Overflow or Wraparound
References
5- https://github.com/containerd/containerd/commit/05044ec0a9a75232cad458027ca83437aae3f4da
- https://github.com/containerd/containerd/commit/1a43cb6a1035441f9aca8f5666a9b3ef9e70ab20
- https://github.com/containerd/containerd/commit/cf158e884cfe4812a6c371b59e4ea9bc4c46e51a
- https://github.com/containerd/containerd/security/advisories/GHSA-265r-hfxg-fhmg
- https://lists.debian.org/debian-lts-announce/2025/05/msg00005.html
Provider assertions
3GitHub_M · cna
containerd has an integer overflow in User ID handling
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f4f223ea7dbad1cacdc6e448fac6d68017fcd7d44f84b0b4fdd6e2e7cf17067a
- Ingested
- 23 Sep 2026, 08:26:02 UTC
- Source record
- Official CVE record