Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2024-40635: Root execution through oversized user IDs in containerd

Published Mar 17, 2025 · Updated 18 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.30%23rd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Linux FoundationDebian Project
IdentifiersCVE-2024-40635CWE-190 · Integer Overflow or Wraparound

CVE-2024-40635 is an integer-handling vulnerability in containerd before the fixes released in versions 1.6.38, 1.7.27, and 2.0.4. A container image USER directive containing a numeric UID or UID:GID value exceeding the maximum signed 32-bit integer can cause the container to execute as root instead of the intended non-root user. An oversized numeric user value can be interpreted as a username; a crafted image can map that username to UID 0 through its user database. This undermines non-root execution requirements and can bypass Kubernetes runAsNonRoot enforcement.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation causes a container expected to run as a non-root user to execute with UID 0, violating workload isolation policies and increasing privileges within the container. The resulting access depends on the container's capabilities, mounts, and other runtime restrictions. Host privilege escalation or container escape is not established by this vulnerability alone.

Mitigation

If you can’t patch tonight, do this now.

Use only trusted container images and restrict image import permissions to trusted users. In Kubernetes, explicitly enforce a nonzero numeric runAsUser in the Pod securityContext to override the image USER directive rather than relying solely on runAsNonRoot.

Remediation

Patch, then assume compromise.

Upgrade containerd to the fixed release for the deployed branch: 1.6.38, 1.7.27, or 2.0.4. For vendor-managed products that bundle containerd, apply the vendor update incorporating the fix.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
Linux FoundationContainerdapplication
FAQ

Frequently asked questions

Is CVE-2024-40635 exploited in the wild?
As of Nov 7, 2026, Mallory has no reports of CVE-2024-40635 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-40635?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-40635, the earliest disclosed Apr 30, 2025.
Is there a patch for CVE-2024-40635?
Upgrade containerd to the fixed release for the deployed branch: 1.6.38, 1.7.27, or 2.0.4. For vendor-managed products that bundle containerd, apply the vendor update incorporating the fix.
What products are affected by CVE-2024-40635?
Linux Foundation Containerd and Debian Project Debian Linux.
How severe is CVE-2024-40635?
CVE-2024-40635 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.30% (23rd percentile) as of Nov 7, 2026.
Activity feed

Recent activity

4 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.