containerd has an integer overflow in User ID handling
cve-program · CVE-2024-40635
Publishedcontainerd 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.
Read the publisher's advisoryeuvd · EUVD-2025-6529
Publishedcontainerd 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.
Read the publisher's advisorynvd · CVE-2024-40635
Publishedcontainerd 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.
Read the publisher's advisoryosv · GHSA-265r-hfxg-fhmg
Published### Impact A bug was found in containerd 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. ### Patches This bug has been fixed in the following containerd versions: * 2.0.4 (Fixed in https://github.com/containerd/containerd/commit/1a43cb6a1035441f9aca8f5666a9b3ef9e70ab20) * 1.7.27 (Fixed in https://github.com/containerd/containerd/commit/05044ec0a9a75232cad458027ca83437aae3f4da) * 1.6.38 (Fixed in https://github.com/containerd/containerd/commit/cf158e884cfe4812a6c371b59e4ea9bc4c46e51a) Users should update to these versions to resolve the issue. ### Workarounds Ensure that only trusted images are used and that only trusted users have permissions to import images. ### Credits The containerd project would like to thank [Benjamin Koltermann](https://github.com/p4ck3t0) and [emxll](https://github.com/emxll) for responsibly disclosing this issue in accordance with the [containerd security policy](https://github.com/containerd/project/blob/main/SECURITY.md). ### References * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-40635 ### For more information If you have any questions or comments about this advisory: * Open an issue in [containerd](https://github.com/containerd/containerd/issues/new/choose) * Email us at [[email protected]](mailto:[email protected]) To report a security issue in containerd: * [Report a new vulnerability](https://github.com/containerd/containerd/security/advisories/new) * Email us at [[email protected]](mailto:[email protected])
Read the publisher's advisoryosv · GO-2025-3528
Publishedcontainerd has an integer overflow in User ID handling in github.com/containerd/containerd
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2024-40635
Publishedcontainerd has an integer overflow in User ID handling
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.
- Source published
- 17 Mar 2025 21:32:37 UTC
- Source modified
- 4 May 2025 22:02:39 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 4.6 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
euvd · EUVD-2025-6529
Publishedcontainerd 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 ov…
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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Mar 17, 2025, 9:32:37 PM
dateUpdated: May 4, 2025, 10:02:39 PM
10 related source bulletins · separate from aliases
openSUSE-SU-2025:14910-1: govulncheck-vulndb-0.0.20250318T181448-1.1 on GA media
CVE-2024-40635 · CVE-2025-0495 · CVE-2025-2241 · CVE-2025-29781 · CVE-2025-29786
msrc_CVE-2024-40635: containerd has an integer overflow in User ID handling
CVE-2024-40635
RHSA-2026:37387: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.22.0 security, enhancement & bug fix update
CVE-2024-25621 · CVE-2024-40635 · CVE-2024-45310 · CVE-2025-8766 · CVE-2025-21613 · CVE-2025-21614 · CVE-2025-22870 · CVE-2025-47911 · CVE-2025-52881 · CVE-2025-54410 · CVE-2025-58058 · CVE-2025-64329 · CVE-2025-66506 · CVE-2026-22772 · CVE-2026-23831 · CVE-2026-24117 · CVE-2026-25680 · CVE-2026-25681 · CVE-2026-25934 · CVE-2026-27136 · CVE-2026-27141 · CVE-2026-27903 · CVE-2026-33540 · CVE-2026-33747 · CVE-2026-33748 · CVE-2026-33814 · CVE-2026-34986 · CVE-2026-35172 · CVE-2026-35469 · CVE-2026-39821 · CVE-2026-39827 · CVE-2026-39828 · CVE-2026-39829 · CVE-2026-39830 · CVE-2026-39831 · CVE-2026-39832 · CVE-2026-39833 · CVE-2026-39834 · CVE-2026-39835 · CVE-2026-39883 · CVE-2026-41506 · CVE-2026-41567 · CVE-2026-41568 · CVE-2026-42502 · CVE-2026-42506 · CVE-2026-42508 · CVE-2026-44740 · CVE-2026-45571 · CVE-2026-46595 · CVE-2026-46597 · CVE-2026-46598
WID-SEC-W-2025-1439: Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff
CVE-2022-39028 · CVE-2023-4016 · CVE-2023-40403 · CVE-2023-46316 · CVE-2023-52426 · CVE-2023-52831 · CVE-2023-52924 · CVE-2023-52925 · CVE-2023-52926 · CVE-2023-52927 · CVE-2024-10041 · CVE-2024-11168 · CVE-2024-12243 · CVE-2024-26634 · CVE-2024-26708 · CVE-2024-26810 · CVE-2024-26873 · CVE-2024-29018 · CVE-2024-35826 · CVE-2024-35910 · CVE-2024-38606 · CVE-2024-40635 · CVE-2024-40980 · CVE-2024-41005 · CVE-2024-41055 · CVE-2024-41077 · CVE-2024-41149 · CVE-2024-42307 · CVE-2024-43790 · CVE-2024-43802 · CVE-2024-43820 · CVE-2024-44974 · CVE-2024-45009 · CVE-2024-45010 · CVE-2024-45306 · CVE-2024-46736 · CVE-2024-46782 · CVE-2024-46796 · CVE-2024-47220 · CVE-2024-47408 · CVE-2024-47794 · CVE-2024-49571 · CVE-2024-49761 · CVE-2024-49924 · CVE-2024-49940 · CVE-2024-49994 · CVE-2024-50029 · CVE-2024-50036 · CVE-2024-50056 · CVE-2024-50085 · CVE-2024-50126 · CVE-2024-50140 · CVE-2024-50152 · CVE-2024-50185 · CVE-2024-50290 · CVE-2024-50294 · CVE-2024-52559 · CVE-2024-53057 · CVE-2024-53063 · CVE-2024-53123 · CVE-2024-53140 · CVE-2024-53147 · CVE-2024-53163 · CVE-2024-53176 · CVE-2024-53177 · CVE-2024-53178 · CVE-2024-53226 · CVE-2024-53680 · CVE-2024-54683 · CVE-2024-55549 · CVE-2024-56171 · CVE-2024-56568 · CVE-2024-56579 · CVE-2024-56633 · CVE-2024-56638 · CVE-2024-56640 · CVE-2024-56647 · CVE-2024-56702 · CVE-2024-56703 · CVE-2024-56718 · CVE-2024-56719 · CVE-2024-56720 · CVE-2024-56751 · CVE-2024-56758 · CVE-2024-56770 · CVE-2024-57807 · CVE-2024-57834 · CVE-2024-57889 · CVE-2024-57900 · CVE-2024-57947 · CVE-2024-57948 · CVE-2024-57973 · CVE-2024-57974 · CVE-2024-57978 · CVE-2024-57979 · CVE-2024-57980 · CVE-2024-57981 · CVE-2024-57986 · CVE-2024-57990 · CVE-2024-57993 · CVE-2024-57994 · CVE-2024-57996 · CVE-2024-57997 · CVE-2024-57999 · CVE-2024-58002 · CVE-2024-58005 · CVE-2024-58006 · CVE-2024-58007 · CVE-2024-58009 · CVE-2024-58011 · CVE-2024-58012 · CVE-2024-58013 · CVE-2024-58014 · CVE-2024-58017 · CVE-2024-58019 · CVE-2024-58020 · CVE-2024-58034 · CVE-2024-58051 · CVE-2024-58052 · CVE-2024-58054 · CVE-2024-58055 · CVE-2024-58056 · CVE-2024-58057 · CVE-2024-58058 · CVE-2024-58061 · CVE-2024-58063 · CVE-2024-58069 · CVE-2024-58072 · CVE-2024-58076 · CVE-2024-58078 · CVE-2024-58079 · CVE-2024-58080 · CVE-2024-58083 · CVE-2024-58085 · CVE-2024-58086 · CVE-2024-8176 · CVE-2025-0395 · CVE-2025-1094 · CVE-2025-1215 · CVE-2025-1795 · CVE-2025-21631 · CVE-2025-21635 · CVE-2025-21636 · CVE-2025-21637 · CVE-2025-21638 · CVE-2025-21639 · CVE-2025-21640 · CVE-2025-21647 · CVE-2025-21659 · CVE-2025-21665 · CVE-2025-21667 · CVE-2025-21668 · CVE-2025-21671 · CVE-2025-21673 · CVE-2025-21680 · CVE-2025-21681 · CVE-2025-21684 · CVE-2025-21687 · CVE-2025-21688 · CVE-2025-21689 · CVE-2025-21690 · CVE-2025-21692 · CVE-2025-21693 · CVE-2025-21697 · CVE-2025-21699 · CVE-2025-21700 · CVE-2025-21701 · CVE-2025-21703 · CVE-2025-21704 · CVE-2025-21705 · CVE-2025-21706 · CVE-2025-21708 · CVE-2025-21711 · CVE-2025-21714 · CVE-2025-21715 · CVE-2025-21716 · CVE-2025-21718 · CVE-2025-21719 · CVE-2025-21723 · CVE-2025-21724 · CVE-2025-21725 · CVE-2025-21726 · CVE-2025-21727 · CVE-2025-21728 · CVE-2025-21731 · CVE-2025-21732 · CVE-2025-21733 · CVE-2025-21734 · CVE-2025-21735 · CVE-2025-21736 · CVE-2025-21738 · CVE-2025-21739 · CVE-2025-21741 · CVE-2025-21742 · CVE-2025-21743 · CVE-2025-21744 · CVE-2025-21745 · CVE-2025-21749 · CVE-2025-21750 · CVE-2025-21753 · CVE-2025-21754 · CVE-2025-21756 · CVE-2025-21759 · CVE-2025-21760 · CVE-2025-21761 · CVE-2025-21762 · CVE-2025-21763 · CVE-2025-21764 · CVE-2025-21765 · CVE-2025-21766 · CVE-2025-21767 · CVE-2025-21772 · CVE-2025-21773 · CVE-2025-21775 · CVE-2025-21776 · CVE-2025-21779 · CVE-2025-21780 · CVE-2025-21781 · CVE-2025-21782 · CVE-2025-21784 · CVE-2025-21785 · CVE-2025-21790 · CVE-2025-21791 · CVE-2025-21793 · CVE-2025-21794 · CVE-2025-21795 · CVE-2025-21796 · CVE-2025-21799 · CVE-2025-21802 · CVE-2025-21804 · CVE-2025-21810 · CVE-2025-21815 · CVE-2025-21819 · CVE-2025-21820 · CVE-2025-21821 · CVE-2025-21823 · CVE-2025-21825 · CVE-2025-21828 · CVE-2025-21829 · CVE-2025-21830 · CVE-2025-21831 · CVE-2025-21832 · CVE-2025-21835 · CVE-2025-21838 · CVE-2025-21844 · CVE-2025-21846 · CVE-2025-21847 · CVE-2025-21848 · CVE-2025-21850 · CVE-2025-21855 · CVE-2025-21856 · CVE-2025-21857 · CVE-2025-21858 · CVE-2025-21859 · CVE-2025-21861 · CVE-2025-21862 · CVE-2025-21864 · CVE-2025-21865 · CVE-2025-21866 · CVE-2025-21869 · CVE-2025-21870 · CVE-2025-21871 · CVE-2025-21876 · CVE-2025-21877 · CVE-2025-21878 · CVE-2025-21883 · CVE-2025-21885 · CVE-2025-21886 · CVE-2025-21888 · CVE-2025-21890 · CVE-2025-21891 · CVE-2025-21892 · CVE-2025-22134 · CVE-2025-22228 · CVE-2025-22247 · CVE-2025-22868 · CVE-2025-22869 · CVE-2025-24014 · CVE-2025-24813 · CVE-2025-24855 · CVE-2025-24928 · CVE-2025-2588 · CVE-2025-26465 · CVE-2025-26466 · CVE-2025-26597 · CVE-2025-27113 · CVE-2025-27219 · CVE-2025-27220 · CVE-2025-27363 · CVE-2025-29087 · CVE-2025-29088 · CVE-2025-31115 · CVE-2025-31335 · CVE-2025-31650 · CVE-2025-31651 · CVE-2025-32414 · CVE-2025-32415 · CVE-2025-32728 · CVE-2025-3360 · CVE-2025-4207 · CVE-2025-4382 · CVE-2025-47268 · CVE-2025-4802 · CVE-2025-48734
SUSE-SU-2025:20216-1: Security update for containerd
CVE-2024-40635
openSUSE-SU-2025:15039-1: cmctl-2.2.0-1.1 on GA media
CVE-2024-40635
openSUSE-SU-2025:15169-1: containerd-1.7.27-1.1 on GA media
CVE-2024-40635
SUSE-SU-2025:1346-1: Security update for containerd
CVE-2024-40635
SUSE-SU-2025:20459-1: Security update for containerd
CVE-2024-40635
SUSE-SU-2025:1345-1: Security update for containerd
CVE-2024-40635
- Source published
- Mar 17, 2025, 9:32:37 PM (timezone not stated)
- Source modified
- May 4, 2025, 10:02:39 PM (timezone not stated)
- Saved here
- 15 Nov 2026 02:31:49 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 4.6 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
nvd · CVE-2024-40635
Publishedcontainerd 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 ov…
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-190
Original publisher date fields
published: 2025-03-17T22:15:13.150
lastModified: 2026-06-17T07:46:12.817
2 source CPE criteria · context only
- cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 17 Mar 2025 22:15:13 UTC
- Source modified
- 17 Jun 2026 07:46:12 UTC
- Saved here
- 25 Oct 2026 00:17:22 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 4.6 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
CVSS 3.1 · [email protected] · Primary · 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv · GHSA-265r-hfxg-fhmg
Publishedcontainerd has an integer overflow in User ID handling
### Impact A bug was found in containerd 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. ### Patches This bug has been fixed in the following containerd versions: * 2.0.4 (Fixed in https://github.com/containerd/containerd/commit/1a43cb6a1035441f9aca8f5666a9b3ef9e70ab20) * 1.7.27 (Fixed in https://github.com/containerd/containerd/commit/05044ec0a9a75232cad458027ca83437aae3f4da) * 1.6.38 (Fixed in https://github.com/containerd/containerd/commit/cf158e884cfe4812a6c371b59e4ea9bc4c46e51a) Users should update to these versions to resolve the issue. ### Workarounds Ensure that only trusted images are used and that only trusted users have permissions to import images. ### Credits The containerd project would like to thank [Benjamin Koltermann](https://github.com/p4ck3t0) and [emxll](https://github.com/emxll) for responsibly disclosing this issue in accordance with the [containerd security policy](https://github.com/containerd/project/blob/main/SECURITY.md). ### References * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-40635 ### For more information If you have any questions or comments about this advisory: * Open an issue in [containerd](https://github.com/containerd/containerd/issues/new/choose) * Email us at [[email protected]](mailto:[email protected]) To report a security issue in containerd: * [Report a new vulnerability](https://github.com/containerd/containerd/security/advisories/new) * Email us at [[email protected]](mailto:[email protected])
- Source published
- 17 Mar 2025 21:24:42 UTC
- Source modified
- 10 Sep 2026 03:50:06 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Publisher rating · MODERATE
osv · GO-2025-3528
Publishedcontainerd has an integer overflow in User ID handling in github.com/containerd/containerd
containerd has an integer overflow in User ID handling in github.com/containerd/containerd
- Source published
- 18 Mar 2025 18:14:48 UTC
- Source modified
- 4 Feb 2026 03:50:47 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.