All vulnerabilities

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.

From containerd/containerd's security advisory.

Workarounds

Ensure that only trusted images are used and that only trusted users have permissions to import images.

Workarounds as given by containerd/containerd's security advisory.

Affected software

SoftwareAffected versions
containerdServers and applications · cpe:a:linuxfoundation:containerd
  • Every version before 1.6.38
  • From 1.7.0 before 1.7.27
  • From 2.0.0 before 2.0.4
containerdServers and applications · github:containerd/containerd
  • Every version before 1.6.38

About containerd

container runtime

From Wikidata, CC0 1.0.
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

ReleaseLatestSecurity fixes
2.42.4.2Until 16 May 2027
2.3 (LTS)LTS2.3.7Until 30 Apr 2028
2.22.2.10Ended 6 Nov 2026
2.12.1.9Ended 3 Jul 2026
2.0 (LTS)LTS2.0.14Until 1 Mar 2027
1.7 (LTS)LTS1.7.36Ended 30 Sept 2026

From endoflife.date.

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