BreachSpiderVerified, not vibes

CVE-2024-40635 in Debian Linux and 1 more product

High 7.8

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 co...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.8
EPSS0.3%
EPSS percentile20th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 11.0
Linuxfoundation Containerd < 1.6.38 ≥ 1.7.0, < 1.7.27 ≥ 2.0.0, < 2.0.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-40635
BreachSpider IDBS-2025-GLOBAL-268886-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-03-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-190: Integer Overflow or Wraparound

Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.

Related attack patterns (CAPEC)

CAPEC-92 Forced Integer Overflow via CWE-190

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in containerd prior to versions 1.6.38, 1.7.27, and 2.0.4 allows containers to run as root due to an integer overflow when setting a UID:GID larger than the maximum 32-bit signed integer.

An attacker can exploit this vulnerability by configuring a container to use a UID:GID value that exceeds the maximum 32-bit signed integer, causing an overflow and elevating the container's privileges to root.

Questions

What is CVE-2024-40635?

A vulnerability in containerd prior to versions 1.6.38, 1.7.27, and 2.0.4 allows containers to run as root due to an integer overflow when setting a UID:GID larger than the maximum 32-bit signed integer.

What is the CVSS score for CVE-2024-40635?

CVE-2024-40635 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.

Is CVE-2024-40635 actively exploited?

No confirmed active exploitation of CVE-2024-40635 as of 2026-09-25.

How do I remediate CVE-2024-40635?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2024-40635?

CVE-2024-40635 affects Debian Debian Linux; Linuxfoundation Containerd.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.