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.
Published: 2025-03-17
Score: 4.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4153-1 containerd security update
EUVD EUVD EUVD-2025-6529 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.
Github GHSA Github GHSA GHSA-265r-hfxg-fhmg containerd has an integer overflow in User ID handling
Ubuntu USN Ubuntu USN USN-7374-1 containerd vulnerability
History

Thu, 02 Oct 2025 02:00:00 +0000

Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
CPEs cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux

Tue, 23 Sep 2025 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation containerd
CPEs cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*
Vendors & Products Linuxfoundation
Linuxfoundation containerd

Sun, 04 May 2025 22:45:00 +0000

Type Values Removed Values Added
References

Tue, 18 Mar 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Mar 2025 14:00:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Mar 2025 21:45:00 +0000

Type Values Removed Values Added
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.
Title containerd has an integer overflow in User ID handling
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Debian Debian Linux
Linuxfoundation Containerd
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-05-04T22:02:39.748Z

Reserved: 2024-07-08T16:13:15.511Z

Link: CVE-2024-40635

cve-icon Vulnrichment

Updated: 2025-05-04T22:02:39.748Z

cve-icon NVD

Status : Analyzed

Published: 2025-03-17T22:15:13.150

Modified: 2025-10-02T01:51:43.210

Link: CVE-2024-40635

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-03-17T21:32:37Z

Links: CVE-2024-40635 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses