Resource exhaustion in Moby Buildkit
CVE-2026-61712
- CVSS
- Not scored
- Public exploits
- None known
- EPSS
- 0.004 · 34.8th percentile
- Published
- 2026-08-19
What to do
- Fixed in
0.31.1- Affected
- 1 affected product
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.1, BuildKit read attacker-controlled /etc/passwd and /etc/group files without an upper bound while resolving a username to a user identifier or group identifier in executor/oci/user.go and solver/llbsolver/ops/user_linux.go. A malicious base image or build could provide oversized files that exhausted memory during user resolution and caused out-of-memory termination of the buildkitd process. This issue is fixed in version 0.31.1.
Published · last modified .
EPSS exploit prediction
EPSS 0.004, 34.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Moby Buildkit — versions < 0.31.1