CVEvulnerability
CVE-2026-61712
2.3 LOW
Official page ↗
- Status
- Deferred
- Published
- 2026-08-19
- Last modified
- 2026-09-09
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 2.3 LOW — CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Weaknesses
- CWE-770
Description
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.
Related
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1 github.com
- https://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255 github.com
- https://github.com/moby/buildkit/releases/tag/v0.31.1 github.com
- https://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86 github.com