Servers and applications
CVE-2024-40635
Integer overflow in User ID handling
- Severity
- High 7.8
- Published
- 17 Mar 2025
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 1.6.38, 1.7.27, 2.0.4
- Exploit chance
- 0.3% in the next 30 daysHigher than 23% of CVEs. EPSS by FIRST, 18 Nov 2026
- Weakness
- Integer overflow (CWE-190)
- Attack
- Needs local access · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Also known as
- GHSA-265r-hfxg-fhmg
- Sources
- NVD, Project advisories (GitHub)
Description
A bug was found in containerd 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.
Workarounds
Ensure that only trusted images are used and that only trusted users have permissions to import images.
Affected software
| Software | Affected versions |
|---|---|
containerdServers and applications · cpe:a:linuxfoundation:containerd |
|
containerdServers and applications · github:containerd/containerd |
|
About containerd
container runtime
- GitHub stars
- 21,483GitHub, 15 Nov 2026
- Forks
- 4,206GitHub, 15 Nov 2026
- Latest release
- v2.4.2GitHub, 15 Nov 2026
- Released
- 13 Oct 2026GitHub
- Developer
- Docker, Inc.Wikidata
- License
- Apache Software License 2.0Wikidata
- Written in
- GoWikidata
- First published on GitHub
- 13 Nov 2015GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 2.4 | 2.4.2 | Until 16 May 2027 |
| 2.3 (LTS)LTS | 2.3.7 | Until 30 Apr 2028 |
| 2.2 | 2.2.10 | Ended 6 Nov 2026 |
| 2.1 | 2.1.9 | Ended 3 Jul 2026 |
| 2.0 (LTS)LTS | 2.0.14 | Until 1 Mar 2027 |
| 1.7 (LTS)LTS | 1.7.36 | Ended 30 Sept 2026 |
From endoflife.date.
Vulnerabilities in containerd
- In our list
- 32
- Published in the last 12 months
- 14
- Critical, last 12 months
- 1
- High, last 12 months
- 5
- Known exploited
- 0
- GHSA-8647-2jxj-p2rccontainerd: daemon crash when pulling an image with a crafted Content-Length headerMedium 13 Oct 2026
- CVE-2026-95839containerd: daemon crash when processing an image manifest with a malformed digestHigh 7.1 13 Oct 2026
- GHSA-hc94-p972-ch66containerd: host disk exhaustion when pulling an image with an unbounded layer streamMedium 13 Oct 2026
- GHSA-5p7c-hggf-c748containerd CRI plugin: mount and snapshot leak when container checkpoint restore failsMedium 13 Oct 2026
- CVE-2026-95837containerd CRI plugin: Checkpoint restore bypasses destination security contextHigh 7.8 12 Oct 2026
- CVE-2026-53493Image-pull DoS via crafted OCI index graph amplificationMedium 24 Sept 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2024-40635
- CVE.org https://www.cve.org/CVERecord?id=CVE-2024-40635
- GitHub Advisory Database https://github.com/advisories/GHSA-265r-hfxg-fhmg
- github.com https://github.com/containerd/containerd/security/advisories/GHSA-265r-hfxg-fhmg