CVE Tools

CVE-2024-40635

containerd has an integer overflow in User ID handling

Published: Mar 17, 2025Updated: Oct 2, 2025 Sources: CVE List NVD GHSA BDUCWE-190
4.6CVSSMEDIUM

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 Breakdown

AV:LAC:LPR:HUI:NS:CC:LI:LA:N
Exploitability
AV:LAttack Vector
Local
AC:LAttack Complexity
Low
PR:HPrivileges Required
High
UI:NUser Interaction
None
Scope
S:CScope
Changed
Impact
C:LConfidentiality
Low
I:LIntegrity
Low
A:NAvailability
None

Weaknesses

Affected Products

linuxfoundationoss-projectUSAI / MLaka yocto, pytorch, everest
debianoss-projectGBOperating Systemsaka debian gnu/linux
gopackage-ecosystemOSS Libraries
containerdoss-projectCloud & SaaSaka containerd, imgcrypt
and 6 more affected products View all →

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

Official Patch Available

MITRE ATT&CK

1 technique
Initial Access
View detailed technique mapping

References

and 13 more references View all →

Timeline

Published
Mar 17, 2025
Last Updated
Oct 2, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2024-40635 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows