CVE-2024-40635: containerd has an integer overflow in User ID handling
Noroxi assessment
Priority: Monitor (action score 31/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.30% (FIRST EPSS).
- 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.
- Fixed version: azl3 containerd 1.7.13-8 on Azure Linux 3.0 1.7.13-8; azl3 containerd2 2.0.0-8 on Azure Linux 3.0 2.0.0-8; azl3 containerd2 2.0.0-9 on Azure Linux 3.0 2.0.0-8.
- Severity is disputed: the assigning authority (CNA) scores it 4.6, NVD 7.8.
Low priority for now. Upgrade to azl3 containerd 1.7.13-8 on Azure Linux 3.0 1.7.13-8; azl3 containerd2 2.0.0-8 on Azure Linux 3.0 2.0.0-8; azl3 containerd2 2.0.0-9 on Azure Linux 3.0 2.0.0-8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Mar 17, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.3% · 23th percentile
- CWE
- CWE-190
Report tools
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.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linuxfoundation | containerd | cpe:2.3:a:linuxfoundation:containerd |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Using containerd? Add it to your stack and be the first to know about CVEs like this one. (Docker)
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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | containerd | before 1.4.13~ds1-1~deb11u5 | 1.4.13~ds1-1~deb11u5 |
| Debian:12 | containerd | before 1.6.20~ds1-1+deb12u2 | 1.6.20~ds1-1+deb12u2 |
| Debian:13 | containerd | before 1.7.24~ds1-6 | 1.7.24~ds1-6 |
| Go | github.com/containerd/containerd | from 1.7.0-beta.0 · before 1.7.27 | 1.7.27 |
| Go | github.com/containerd/containerd | before 1.6.38 | 1.6.38 |
| Go | github.com/containerd/containerd/v2 | before 2.0.4 | 2.0.4 |
| openSUSE:Leap 15.6 | containerd | before 1.7.27-150000.123.1 | 1.7.27-150000.123.1 |
| openSUSE:Tumbleweed | cmctl | before 2.2.0-1.1 | 2.2.0-1.1 |
| openSUSE:Tumbleweed | containerd | before 1.7.27-1.1 | 1.7.27-1.1 |
| openSUSE:Tumbleweed | govulncheck-vulndb | before 0.0.20250318T181448-1.1 | 0.0.20250318T181448-1.1 |
| SUSE:Linux Enterprise Micro 5.3 | containerd | before 1.7.27-150000.123.1 | 1.7.27-150000.123.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | containerd | before 1.7.27-16.100.1 | 1.7.27-16.100.1 |
| SUSE:Linux Micro 6.0 | containerd | before 1.7.27-1.1 | 1.7.27-1.1 |
| SUSE:Linux Micro 6.1 | containerd | before 1.7.27-slfo.1.1_1.1 | 1.7.27-slfo.1.1_1.1 |
Same product
linuxfoundation: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-23648Insecure handling of image volumes in containerd CRI plugin38Monitor
- CVE-2026-53488containerd CRI plugin: — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull37Monitor
- CVE-2021-43816Improper Preservation of Permissions in containerd37Monitor
Published before and after this one in the same product
- ← EarlierCVE-2023-25153Feb 16, 2023 · containerd OCI image importer memory exhaustion22Monitor
- ← EarlierCVE-2023-25173Feb 16, 2023 · containerd supplementary groups are not set up properly31Monitor
- Later →CVE-2025-47290May 20, 2025 · Containerd vulnerable to host filesystem access during image unpack30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| azl3 containerd 1.7.13-8 on Azure Linux 3.0 | 1.7.13-8 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 containerd2 2.0.0-8 on Azure Linux 3.0 | 2.0.0-8 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 containerd2 2.0.0-9 on Azure Linux 3.0 | 2.0.0-8 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 moby-containerd-cc 1.7.7-9 on Azure Linux 3.0 | 1.7.7-9 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-containerd 1.6.26-11 on CBL Mariner 2.0 | 1.6.26-11 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-containerd 1.6.26-11 on CBL-Mariner 2.0 | 1.6.26-11 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-containerd-cc 1.7.7-11 on CBL Mariner 2.0 | 1.7.7-11 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 moby-containerd-cc 1.7.7-11 on CBL-Mariner 2.0 | 1.7.7-11 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:containerd | 1.6.20~ds1-1+deb12u2 · Debian:12 | Package registry (OSV) |
| Go:github.com/containerd/containerd | 1.6.38 | Package registry (OSV) |
| Go:github.com/containerd/containerd | 1.7.27 | Package registry (OSV) |
| Go:github.com/containerd/containerd/v2 | 2.0.4 | Package registry (OSV) |
| opensuse:cmctl | 2.2.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:containerd | 1.7.27-150000.123.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:govulncheck-vulndb | 0.0.20250318T181448-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:containerd | 1.7.27-150000.123.1 · SUSE:Linux Enterprise Micro 5.3 | Package 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.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2025-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.
- Published
- First PoC+43 d
- TodayNov 4, 2026+597 d
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, 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
Weakness class (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS 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.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.