Skip to content
Noroxi
CVE-2024-40635· NVD / CVE Program· CNA GitHub_M

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

HighCVSS 7.8 · v3.1—Proof of concept Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Mar 17, 2025
Updated
Jun 17, 2026
EPSS
0.3% · 20th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.8
CNA · GitHub_M
4.6
3.2 point gap

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
linuxfoundationcontainerd
debiandebian linux

Using containerd? Add it to your stack and be the first to know about CVEs like this one. (Docker)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux11.0
  • linuxfoundation containerdbefore 1.6.38
  • linuxfoundation containerd1.7.0 and later · before 1.7.27
  • linuxfoundation containerd2.0.0 and later · before 2.0.4

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • containerd containerd

    • < 1.6.38, >= 1.7.0-beta.0, < 1.7.27, >= 2.0.0-beta.0, < 2.0.4affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:11containerdbefore 1.4.13~ds1-1~deb11u51.4.13~ds1-1~deb11u5
Debian:12containerdbefore 1.6.20~ds1-1+deb12u21.6.20~ds1-1+deb12u2
Debian:13containerdbefore 1.7.24~ds1-61.7.24~ds1-6
Gogithub.com/containerd/containerdfrom 1.7.0-beta.0 · before 1.7.271.7.27
Gogithub.com/containerd/containerdbefore 1.6.381.6.38
Gogithub.com/containerd/containerd/v2before 2.0.42.0.4
openSUSE:Tumbleweedcmctlbefore 2.2.0-1.12.2.0-1.1
openSUSE:Tumbleweedcontainerdbefore 1.7.27-1.11.7.27-1.1
openSUSE:Tumbleweedgovulncheck-vulndbbefore 0.0.20250318T181448-1.10.0.20250318T181448-1.1
SUSE:Linux Enterprise Micro 5.3containerdbefore 1.7.27-150000.123.11.7.27-150000.123.1
SUSE:Linux Enterprise Micro 5.3containerdbefore 1.7.27-150000.123.11.7.27-150000.123.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5containerdbefore 1.7.27-16.100.11.7.27-16.100.1
SUSE:Linux Micro 6.0containerdbefore 1.7.27-1.11.7.27-1.1
SUSE:Linux Micro 6.1containerdbefore 1.7.27-slfo.1.1_1.11.7.27-slfo.1.1_1.1

Other highest-scoring records for the same primary product.

  • CVE-2022-23648Insecure handling of image volumes in containerd CRI plugin
    38Monitor
  • CVE-2026-53488containerd CRI plugin: — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull
    37Monitor
  • CVE-2021-43816Improper Preservation of Permissions in containerd
    37Monitor
  • CVE-2026-53492containerd CRI checkpoint restore CDI annotation smuggling
    33Monitor
  • CVE-2026-53489containerd: Arbitrary host CRI log file read via symlink following in CRI checkpoint restore
    32Monitor
  • CVE-2024-25621containerd affected by a local privilege escalation via wide permissions on CRI directory
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:containerd1.6.20~ds1-1+deb12u2 · Debian:12Package registry (OSV)
Go:github.com/containerd/containerd1.6.38Package registry (OSV)
Go:github.com/containerd/containerd1.7.27Package registry (OSV)
Go:github.com/containerd/containerd/v22.0.4Package registry (OSV)
opensuse:cmctl2.2.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:containerd1.7.27-150000.123.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:govulncheck-vulndb0.0.20250318T181448-1.1 · openSUSE:TumbleweedPackage registry (OSV)
suse:containerd1.7.27-150000.123.1 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02025-04-30

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+43 d
  3. TodaySep 30, 2026+562 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records