CVE-2026-61712
LOW 2.3CVSS 4.0BuildKit has a possible runtime DoS via unbounded group parsing
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
- 19 Aug 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-72x6-4j93-7w86GO-2026-6256
- Sources
- NVDJSONOSV GHSA-72x6-4j93-7w86JSONOSV GO-2026-6256JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.3 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/moby/buildkit | < 0.31.1 | 0.31.1 |
References
- https://github.com/moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a75a1 · WEB, FIX
- https://github.com/moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431255 · WEB, FIX
- https://github.com/moby/buildkit/releases/tag/v0.31.1 · WEB
- https://github.com/moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86 · WEB, ADVISORY
- https://github.com/moby/buildkit · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 19 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Aug 2026)